Sound Support

Blitz3D SDK Forums/Blitz3D SDK Programming/Sound Support

I'm having a *little* trouble with sounds - playback quality is really bad (fine with media player) and ogg files don't play at all. I've just tried with some free files that I downloaded. Am I perhaps doing something wrong? I'm just calling LoadSound and then PlaySound.

I'm tempted to just use the FMOD SDK, it comes with a nice C# wrapper.

Hmmm, FMOD also gives the same "tinny" sound with the default settings (Media Player is still okay). Maybe I need to play around a bit. At least ogg files work now though.

Doh, I'm an idiot - I was playing the sound in my game loop so the sound was being playing multiple times because I wasn't checking if the sound was already playing. All fixed.

hehe ...
States are your friend eh? :)

Each time you bbPlaySound() it consume more 4k of memory even it is the same loaded sound. This bug does not happen with loop sound (run once). I use Audiere instead of bbSound until it fix in next version.