mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-29 19:20:36 +00:00
OpenAL: Fix volume of sample conversion
This commit is contained in:
parent
25fac0282c
commit
2c892c7b68
@ -201,7 +201,7 @@ void OpenALStream::SoundLoop()
|
||||
// Convert the samples from short to float
|
||||
float dest[OAL_MAX_SAMPLES * STEREO_CHANNELS];
|
||||
for (u32 i = 0; i < numSamples * STEREO_CHANNELS; ++i)
|
||||
dest[i] = (float)realtimeBuffer[i] / (1 << 16);
|
||||
dest[i] = (float)realtimeBuffer[i] / (1 << 15);
|
||||
|
||||
soundTouch.putSamples(dest, numSamples);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user