aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_control.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-24 07:25:07 +0200
committerMax Kellermann <max@duempel.org>2008-09-24 07:25:07 +0200
commit9a5b5998832f1f9f6efce99f4abdf00f5fe1dfbb (patch)
tree38c1c1cceff677e7fda2837bc537acfb711130d9 /src/output_control.h
parent2b782b82eaadeff36fa230ce3ac30893eb6581e3 (diff)
downloadmpd-9a5b5998832f1f9f6efce99f4abdf00f5fe1dfbb.tar.gz
mpd-9a5b5998832f1f9f6efce99f4abdf00f5fe1dfbb.tar.xz
mpd-9a5b5998832f1f9f6efce99f4abdf00f5fe1dfbb.zip
output: removed DEVICE_ON, DEVICE_OFF
To check whether a device is really on or off, we should rather check audio_output.open, instead of managing another variable. Wrap audio_output.open in the inline function audio_output_is_open() and use it instead of DEVICE_ON and DEVICE_OFF.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions