Membrane Element: PortAudio v0.1.0 Membrane.Element.PortAudio.Sink View Source
Audio sink that plays sound via multi-platform PortAudio library.
Link to this section Summary
Types
Struct containing options for Membrane.Element.PortAudio.Sink
endpoint_id
: PortAudio sound card idringbuffer_size
: Size of the ringbuffer (in frames)portaudio_buffer_size
: Size of the portaudio buffer (in frames)latency
: Latency of the output device
Functions
Returns all known sink pads for Membrane.Element.PortAudio.Sink
Returns description of options available for this module
Link to this section Types
Link to this type
t()
View Source
t() :: %Membrane.Element.PortAudio.Sink{ endpoint_id: integer() | :default, ringbuffer_size: pos_integer(), portaudio_buffer_size: pos_integer(), latency: :low | :high }
Struct containing options for Membrane.Element.PortAudio.Sink
endpoint_id
: PortAudio sound card idringbuffer_size
: Size of the ringbuffer (in frames)portaudio_buffer_size
: Size of the portaudio buffer (in frames)latency
: Latency of the output device
Link to this section Functions
Link to this function
known_sink_pads()
View Source
known_sink_pads() :: Membrane.Element.Base.Mixin.SinkBehaviour.known_sink_pads_t()
Returns all known sink pads for Membrane.Element.PortAudio.Sink
They are the following:
Pad:
:sink
- Availability: :always
- Mode: {:pull, [demand_in: :bytes]}
Caps:
{Membrane.Caps.Audio.Raw, [channels: 2, sample_rate: 48000, format: :s16le]}
Returns description of options available for this module