Don't overwrite ss.format
Currently the switch statement is invalidated by ss.format being overwritten with the default value of PA_SIMPLE_S16NE which results in white noise during playback as my server is expected S16LE (S16NE). Signed-off-by: Earnestly <zibeon@gmail.com>
This commit is contained in:
parent
8748b2dc3f
commit
e2f6cc9c9f
|
@ -703,7 +703,6 @@ PulseOutput::Open(AudioFormat &audio_format, Error &error)
|
|||
break;
|
||||
}
|
||||
|
||||
ss.format = PA_SAMPLE_S16NE;
|
||||
ss.rate = audio_format.sample_rate;
|
||||
ss.channels = audio_format.channels;
|
||||
|
||||
|
|
Loading…
Reference in New Issue