paracusia v0.2.11 Paracusia.MpdClient.AudioOutputs
Functions related to audio output devices available to MPD.
See also: https://musicpd.org/doc/protocol/output_commands.html
Link to this section Summary
Functions
Returns a map containing information about all audio outputs
Turns an output off
Turns an output on
Turns an output on or off, depending on the current state
Link to this section Types
Link to this section Functions
Link to this function
all()
all()
all() ::
{:ok, [Paracusia.MpdClient.AudioOutputs.t()]}
| {:error, {String.t(), String.t()}}
all() :: {:ok, [Paracusia.MpdClient.AudioOutputs.t()]} | {:error, {String.t(), String.t()}}
Returns a map containing information about all audio outputs.
Link to this function
disable(id)
Turns an output off.
Link to this function
enable(id)
Turns an output on.
Link to this function
toggle(id)
Turns an output on or off, depending on the current state.