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.
This commit is contained in:
Max Kellermann 2008-09-11 07:49:52 +02:00
parent 544c13cc89
commit 19fe134b38

View File

@ -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 ||