aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-11 07:49:52 +0200
committerMax Kellermann <max@duempel.org>2008-09-11 07:49:52 +0200
commit19fe134b38f5f4696b9a12fd419da7d4ff03886a (patch)
tree01a28ba44204b110745fbb69d1e42e11e60fb70a /src
parent544c13cc897b5cbfbae571fba25d023fd9037634 (diff)
downloadmpd-19fe134b38f5f4696b9a12fd419da7d4ff03886a.tar.gz
mpd-19fe134b38f5f4696b9a12fd419da7d4ff03886a.tar.xz
mpd-19fe134b38f5f4696b9a12fd419da7d4ff03886a.zip
shout: use reqAudioFormat instead of outAudioFormat
In the plugin's init() function, outAudioFormat is simply a copy of reqAudioFormat. Use reqAudioFormat instead of outAudioFormat here.
Diffstat (limited to 'src')
-rw-r--r--src/audioOutputs/audioOutput_shout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index 12a85293f..53d2407bd 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -195,7 +195,7 @@ static int myShout_initDriver(struct audio_output *audioOutput,
}
checkBlockParam("format");
- sd->audio_format = audioOutput->outAudioFormat;
+ sd->audio_format = audioOutput->reqAudioFormat;
if (shout_set_host(sd->shoutConn, host) != SHOUTERR_SUCCESS ||
shout_set_port(sd->shoutConn, port) != SHOUTERR_SUCCESS ||