Is it possible to open more than one channel (via FSOUND_Stream_PlayEx og FSOUND_PlaySoundEx) on the same FSOUND_STREAM og FSOUND_SAMPLE? I ask because during high energy scenes (combat) in our 3D game a substantial amount of cpu goes into FSOUND_Stream_OpenFile and FSOUND_Sample_Load (and decidedly more when using ogg and mp3 for obvious reasons), I was hoping to be able to cache the FSOUND_STREAM pointer and share it. I tried testing it and FSOUND_Stream_PlayEx simply returns the already playing channel number so I guess it’s not, just thought I’d ask.
My other option is to simply preload all combat sounds but that might become silly when the number of players increases.
- atli asked 14 years ago
- You must login to post comments