Membrane Element: PortAudio v0.2.2 Membrane.Element.PortAudio.SyncExecutor View Source

A GenServer executing actions received by GenServer.call/3 or send/2.

Some PortAudio operations (such as starting and stopping stream) must not be executed concurrently, so they are received and executed here, synchronously.

Link to this section Summary

Functions

A simple wrapper around GenServer.call/3.

Returns a specification to start this module under a supervisor

Link to this section Functions

Link to this function

apply(module, fun_name, args, timeout \\ 5000) View Source
apply(module(), atom(), list() | any(), GenServer.timeout_t()) :: term()

A simple wrapper around GenServer.call/3.

Returns a specification to start this module under a supervisor.

See Supervisor.