Membrane.PortAudio.Source (Membrane PortAudio plugin v0.10.0) View Source

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

Element options

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

  • endpoint_id

    integer | :default

    Default value: :default
    PortAudio sound card id

  • portaudio_buffer_size

    pos_integer

    Default value: 256
    Size of the portaudio buffer (in frames)

  • latency

    :low | :high

    Default value: :high
    Latency of the output device

Pads

:output

Availability:always
CapsMembrane.Caps.Audio.Raw, restrictions:<br />&nbsp;&nbsp;channels: 2,<br />&nbsp;&nbsp;sample_rate: 48000,<br />&nbsp;&nbsp;format: :s16le
Direction:output
Mode:push
Name:output

Link to this section Summary

Types

t()

Struct containing options for Membrane.PortAudio.Source

Functions

Returns pads descriptions for Membrane.PortAudio.Source

Returns description of options available for this module

Link to this section Types

Specs

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

Struct containing options for Membrane.PortAudio.Source

Link to this section Functions

Specs

membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]

Returns pads descriptions for Membrane.PortAudio.Source

Specs

options() :: keyword()

Returns description of options available for this module