diff options
author | Max Kellermann <max@duempel.org> | 2008-09-11 07:49:52 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-11 07:49:52 +0200 |
commit | 19fe134b38f5f4696b9a12fd419da7d4ff03886a (patch) | |
tree | 01a28ba44204b110745fbb69d1e42e11e60fb70a | |
parent | 544c13cc897b5cbfbae571fba25d023fd9037634 (diff) | |
download | mpd-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.
-rw-r--r-- | src/audioOutputs/audioOutput_shout.c | 2 |
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 || |