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:
parent
544c13cc89
commit
19fe134b38
@ -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 ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user