Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding volume control support for sounds and sound mixer #113
Adding support for volume control in response to Ruby2d issue: ruby2d/ruby2d#115
Implemented two ways to handle this, S2D_GetSoundVolume and S2D_SetSoundVolume set the volume mix for a particular sound. Additionally, S2D_GetSoundMixVolume and S2D_SetSoundMixVolume set the volume for the whole mixer. For simplicity's sake, all channels are set to the same volume value.