Membrane Element: PortAudio v0.1.0 Membrane.Element.PortAudio.Native View Source
Native interface to PortAudio. Sink and source are not split into separate NIFs because some PortAudio functions are not thread safe and synchronization between calls to them must have been provided.
Link to this section Summary
Link to this section Functions
Link to this function
create_sink(demand_handler, endpoint_id, ringbuffer_size, pa_buffer_size, latency)
View Source
create_sink(pid(), integer(), pos_integer(), pos_integer(), :low | :high) :: {:ok, reference()} | {:error, any()}
Link to this function
create_source(destination, endpoint_id, pa_buffer_size, latency)
View Source
create_source(pid(), integer(), pos_integer(), :low | :high) :: {:ok, reference()} | {:error, any()}