View Source Membrane.PortAudio.SyncExecutor (Membrane PortAudio plugin v0.14.1)

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
@spec apply(module(), atom(), list() | any(), timeout()) :: term()

A simple wrapper around GenServer.call/3.

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec start_link(any()) :: GenServer.on_start()