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

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.

Summary

Functions

A simple wrapper around GenServer.call/3.

Returns a specification to start this module under a supervisor.

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()