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:
Earnestly 2016-08-21 22:46:17 +01:00 committed by Max Kellermann
parent 8748b2dc3f
commit e2f6cc9c9f
1 changed files with 0 additions and 1 deletions

View File

@ -703,7 +703,6 @@ PulseOutput::Open(AudioFormat &audio_format, Error &error)
break; break;
} }
ss.format = PA_SAMPLE_S16NE;
ss.rate = audio_format.sample_rate; ss.rate = audio_format.sample_rate;
ss.channels = audio_format.channels; ss.channels = audio_format.channels;