Commit e2f6cc9c authored by Earnestly's avatar Earnestly Committed by Max Kellermann

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: 's avatarEarnestly <zibeon@gmail.com>
parent 8748b2dc
......@@ -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;
......
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