aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-13 19:23:09 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-13 19:23:09 +0000
commit8936789631ce729e44fc8fc0296d4b7c0cf0c5f6 (patch)
tree98d8b0624efdfed314692b080368519dc14891fb /src/audio.c
parent3d81a723c7b501f9b2333fd73ee012645547d01e (diff)
downloadmpd-8936789631ce729e44fc8fc0296d4b7c0cf0c5f6.tar.gz
mpd-8936789631ce729e44fc8fc0296d4b7c0cf0c5f6.tar.xz
mpd-8936789631ce729e44fc8fc0296d4b7c0cf0c5f6.zip
add OS X configure stuff and added a skeleton audioOutput plugin for OS X
git-svn-id: https://svn.musicpd.org/mpd/trunk@3074 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audio.c')
-rw-r--r--src/audio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio.c b/src/audio.c
index c3b87fa5b..8f67c17f7 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -59,6 +59,7 @@ int cmpAudioFormat(AudioFormat * f1, AudioFormat * f2) {
extern AudioOutputPlugin alsaPlugin;
extern AudioOutputPlugin aoPlugin;
extern AudioOutputPlugin ossPlugin;
+extern AudioOutputPlugin osxPlugin;
extern AudioOutputPlugin shoutPlugin;
/* make sure initPlayerData is called before this function!! */
@@ -70,6 +71,7 @@ void initAudioDriver() {
loadAudioOutputPlugin(&alsaPlugin);
loadAudioOutputPlugin(&aoPlugin);
loadAudioOutputPlugin(&ossPlugin);
+ loadAudioOutputPlugin(&osxPlugin);
loadAudioOutputPlugin(&shoutPlugin);
pdAudioDevicesEnabled = (getPlayerData())->audioDeviceEnabled;