From 19fe134b38f5f4696b9a12fd419da7d4ff03886a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 11 Sep 2008 07:49:52 +0200 Subject: 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. --- src/audioOutputs/audioOutput_shout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audioOutputs/audioOutput_shout.c') 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 || -- cgit v1.2.3