Membrane.PortAudio.Sink (Membrane PortAudio plugin v0.4.0) View Source
Audio sink that plays sound via multi-platform PortAudio library.
Element options
Passed via struct Membrane.PortAudio.Sink.t/0
endpoint_id
Default value:
:default
PortAudio sound card idringbuffer_size
Default value:
4096
Size of the ringbuffer (in frames)portaudio_buffer_size
Default value:
256
Size of the portaudio buffer (in frames)latency
Default value:
:high
Latency of the output device
Pads
:input
Availability | :always |
Bin? | false |
Caps | Membrane.Caps.Audio.Raw , restrictions:<br /> channels: 2 ,<br /> sample_rate: 48000 ,<br /> format: :s16le |
Demand unit | :bytes |
Direction | :input |
Mode | :pull |
Name | :input |
Clock
This element provides a clock to its parent.
This clock measures time by counting a number of samples consumed by a PortAudio device and allows synchronization with it.
Link to this section Summary
Types
Struct containing options for Membrane.PortAudio.Sink
Functions
Returns pads descriptions for Membrane.PortAudio.Sink
Returns description of options available for this module
Link to this section Types
Specs
t() :: %Membrane.PortAudio.Sink{ endpoint_id: integer() | :default, latency: :low | :high, portaudio_buffer_size: pos_integer(), ringbuffer_size: pos_integer() }
Struct containing options for Membrane.PortAudio.Sink
Link to this section Functions
Specs
membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.PortAudio.Sink
Specs
options() :: keyword()
Returns description of options available for this module