This subclass is used to configure audio outputs. Have a look at the MPD doc for more.
MphpD::output(int $id) : Output
This class is not intended for direct usage.
Use MphpD::output()
instead to retrieve an instance of this class.
Output::__construct(FloFaber\MphpD\MphpD $mphpd, int $id) : mixed
mixed
Disable the given output
Output::disable() : bool
bool
bool true
on success or false
on failure.
Enable the given output
Output::enable() : bool
bool
bool true
on success or false
on failure.
Enable/Disable the given output depending on the current state.
Output::toggle() : bool
bool
bool true
on success or false
on failure.
Set a runtime attribute. Supported values can be retrieved from the MphpD::outputs()
method.
Output::set(string $name, string $value) : bool
bool
bool true
on success or false
on failure.