Sound Support

Archives Forums/Blitz3D SDK Programming/Sound Support

PaulM(Posted 2007) [#1]
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.


PaulM(Posted 2007) [#2]
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.


PaulM(Posted 2007) [#3]
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.


Dreamora(Posted 2007) [#4]
hehe ...
States are your friend eh? :)


MeowZ(Posted 2007) [#5]
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.