PB 6.10 - quiet sound
Posted: Fri Sep 12, 2025 10:30 am
Code (tested in Windows x64). In PB 6.10 and next versions the sound is very quiet and hard to hear and it is necessary to increase the system volume in Windows.
It's probably because miniaudio, but how to fix this and make the sound louder?
I tested low level APIs from miniaudio (functions ma_device_config_init(), ma_device_init() etc.) and the sound is just as quiet. How to make it louder like versions before PB 6.10?
Code: Select all
If InitSound() = 0
MessageRequester("Error", "Sound system is not available", 0)
End
EndIf
SoundFileName$ = OpenFileRequester("Choose a .wav file", "", "Wave files|*.wav",0)
If SoundFileName$
If LoadSound(0, SoundFileName$)
PlaySound(0, #PB_Sound_Loop)
MessageRequester("Sound", "Playing the sound (loop)..."+#LF$+"Click to quit..", 0)
Else
MessageRequester("Error", "Can't load the sound.", 0)
EndIf
EndIf
EndIt's probably because miniaudio, but how to fix this and make the sound louder?
I tested low level APIs from miniaudio (functions ma_device_config_init(), ma_device_init() etc.) and the sound is just as quiet. How to make it louder like versions before PB 6.10?