Commit 19fe134b authored by Max Kellermann's avatar Max Kellermann

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.
parent 544c13cc
...@@ -195,7 +195,7 @@ static int myShout_initDriver(struct audio_output *audioOutput, ...@@ -195,7 +195,7 @@ static int myShout_initDriver(struct audio_output *audioOutput,
} }
checkBlockParam("format"); checkBlockParam("format");
sd->audio_format = audioOutput->outAudioFormat; sd->audio_format = audioOutput->reqAudioFormat;
if (shout_set_host(sd->shoutConn, host) != SHOUTERR_SUCCESS || if (shout_set_host(sd->shoutConn, host) != SHOUTERR_SUCCESS ||
shout_set_port(sd->shoutConn, port) != SHOUTERR_SUCCESS || shout_set_port(sd->shoutConn, port) != SHOUTERR_SUCCESS ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment