aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-11-02 22:13:58 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-11-02 22:13:58 +0000
commit44eb26c16fb66908f75d395e63a16c343c28e00d (patch)
tree34a098ea018bfea9305300662d1b0dfe10a2deb5 /src/audio.h
parent69176148bfd4a9a40a8d653997a6f2714d65776b (diff)
downloadmpd-44eb26c16fb66908f75d395e63a16c343c28e00d.tar.gz
mpd-44eb26c16fb66908f75d395e63a16c343c28e00d.tar.xz
mpd-44eb26c16fb66908f75d395e63a16c343c28e00d.zip
new commands: enalbe_device, and disable_device, (maybe these commands should be toggles instead of two seperate commands?)
also, on close device, close the shout connection git-svn-id: https://svn.musicpd.org/mpd/trunk@2485 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audio.h')
-rw-r--r--src/audio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/audio.h b/src/audio.h
index 73ad73336..791b7889f 100644
--- a/src/audio.h
+++ b/src/audio.h
@@ -65,4 +65,10 @@ int isCurrentAudioFormat(AudioFormat * audioFormat);
void sendMetadataToAudioDevice(MpdTag * tag);
+/* these functions are called in the main parent process while the child
+ process is busy playing to the audio */
+int enableAudioDevice(FILE * fp, int device);
+
+int disableAudioDevice(FILE * fp, int device);
+
#endif