bryanedds / Nu

Repository hosting the open-source Nu Game Engine and related projects.
MIT License
1.05k stars 151 forks source link

Consider changing MasterSongVolumeDefault to 1.0f. #821

Closed bryanedds closed 1 day ago

bryanedds commented 1 month ago

Initially when putting the audio system together, I seemed to notice that songs were playing much louder than sounds even when similar decibel readings. I had presumed this was an SDL design decision, adjusted the volume defaults accordingly, then thought about it no further.

However, I recently read that sound values are raw data going straight to the platform's subsystems, so I want to bring the assumptions underlying this implementation back into question If it turns out I was just interpreting the decibel information incorrectly, we should change MasterSongVolumeDefault to 1.0f as well as do the following -