Membrane Element: PortAudio v0.2.4 Membrane.Element.PortAudio.Source View Source

Audio source that captures sound via multi-platform PortAudio library.

Element options

Passed via struct Membrane.Element.PortAudio.Source.t/0

  • endpoint_id

    Default value: :default

    PortAudio sound card id

  • portaudio_buffer_size

    Default value: 256

    Size of the portaudio buffer (in frames)

  • latency

    Default value: :high

    Latency of the output device

Pads

:output

Availability:always
CapsMembrane.Caps.Audio.Raw, restrictions:
  channels: 2,
  sample_rate: 48000,
  format: :s16le
Direction:output
Mode:push

Link to this section Summary

Types

t()

Struct containing options for Membrane.Element.PortAudio.Source

Functions

Returns pads descriptions for Membrane.Element.PortAudio.Source

Returns description of options available for this module

Link to this section Types

Link to this type

t()

View Source
t() :: %Membrane.Element.PortAudio.Source{
  endpoint_id: integer() | :default,
  latency: :low | :high,
  portaudio_buffer_size: pos_integer()
}

Struct containing options for Membrane.Element.PortAudio.Source

Link to this section Functions

Returns pads descriptions for Membrane.Element.PortAudio.Source

Returns description of options available for this module