I'm trying to play a sound effect(in WAV form) but it won't work, or I can't hear it. It's possible that I'm using a low value for volume, so I was wondering what the max value for volume is. Is it 128 like it was in Verge2? And does the sample rate have to be something specific?
Here's the code I use to load/play a soundeffect:
int sounds[MAXSOUNDS];
void LoadSounds()
{
sounds[0]=LoadSound("splash.wav");
}
//within another function
PlaySound(sounds[0],128);
`
`
When I do this, I hear nothing.