aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-05 05:22:30 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-05 05:22:30 +0000
commitd1a4bb382f7d3445cea74813e8258798852a40ad (patch)
tree4fa1eb273ca27394bd033d2ba68c21f54b90de9a /src/audio.c
parent82ff4c321cd5584585c2a624d7c502fed42c3f16 (diff)
downloadmpd-d1a4bb382f7d3445cea74813e8258798852a40ad.tar.gz
mpd-d1a4bb382f7d3445cea74813e8258798852a40ad.tar.xz
mpd-d1a4bb382f7d3445cea74813e8258798852a40ad.zip
implemented alsa audioOutput plugin, now it needs testing
git-svn-id: https://svn.musicpd.org/mpd/trunk@3008 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audio.c')
-rw-r--r--src/audio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/audio.c b/src/audio.c
index 02974228a..cf2b54c20 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -56,9 +56,10 @@ int cmpAudioFormat(AudioFormat * f1, AudioFormat * f2) {
return memcmp(f1, f2, sizeof(AudioFormat));
}
+extern AudioOutputPlugin alsaPlugin;
extern AudioOutputPlugin aoPlugin;
-extern AudioOutputPlugin shoutPlugin;
extern AudioOutputPlugin ossPlugin;
+extern AudioOutputPlugin shoutPlugin;
/* make sure initPlayerData is called before this function!! */
void initAudioDriver() {
@@ -66,9 +67,10 @@ void initAudioDriver() {
int i;
initAudioOutputPlugins();
+ loadAudioOutputPlugin(&alsaPlugin);
loadAudioOutputPlugin(&aoPlugin);
- loadAudioOutputPlugin(&shoutPlugin);
loadAudioOutputPlugin(&ossPlugin);
+ loadAudioOutputPlugin(&shoutPlugin);
pdAudioDevicesEnabled = (getPlayerData())->audioDeviceEnabled;