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

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

Link to this section Summary

Types

t()

Struct containing options for Membrane.Element.PortAudio.Source

  • endpoint_id: PortAudio sound card id
  • portaudio_buffer_size: Size of the portaudio buffer (in frames)
  • latency: Latency of the output device

Functions

Returns all known source pads 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,
  portaudio_buffer_size: pos_integer(),
  latency: :low | :high
}

Struct containing options for Membrane.Element.PortAudio.Source

  • endpoint_id: PortAudio sound card id
  • portaudio_buffer_size: Size of the portaudio buffer (in frames)
  • latency: Latency of the output device

Link to this section Functions

Returns all known source pads for Membrane.Element.PortAudio.Source

They are the following:

  • Pad: :source

    • Availability: :always
    • Mode: :push
    • Caps:

      • {Membrane.Caps.Audio.Raw, [channels: 2, sample_rate: 48000, format: :s16le]}

Returns description of options available for this module