Increase audio bit depth to 16

We were already outputting 16-bit audio, one byte was just being
ignored. Might as well bump it up since the computer can handle it.
This commit is contained in:
John Lorentzson 2025-04-26 15:23:12 +02:00
parent 82e7864903
commit d43a683018

View file

@ -113,7 +113,7 @@ unsigned long SoftwareMixerBackend_Init(void (*callback)(long *stream, size_t fr
info.sample_rate = samplingRate; info.sample_rate = samplingRate;
info.channels = 2; info.channels = 2;
info.precision = 8; info.precision = 16;
info.encoding = AUDIO_ENCODING_LINEAR; info.encoding = AUDIO_ENCODING_LINEAR;
info.port = AUDIO_HEADPHONE; info.port = AUDIO_HEADPHONE;
info.gain = 128; info.gain = 128;