Well, I’m working in a small player and it uses some kind of music and audio formats: mod, s3m, midi, xm, it, ogg and wav. The FMUSIC formats runs well (xm, it, s3m, mod, midi) but I have problems while working with FSOUND formats (ogg and wav).
The problems are:
1- I can’t pause playing sound (function FSOUND_SetPaused) when I use channel param the current channel id in use (there’s only one channel any time). This channel id is Long var type (VB 6.0). So everytime I use this function, FMOD continues playing and returns FALSE (unknown error). But, if I use FSOUND_ALL as channel param, it pauses, but returns FALSE too.
Cause? I don’t know!
So, actually I’m using FSOUND_ALL as param to continue working, but it makes rise more errors: after paused, play (unpause) doesn’t work. I think it’s caused by the extrange behaviour explained above.
2- The second problem I have is that FSOUND_IsPlaying function always returns incorrect value. If I’m playing returns FALSE and so, stops the sound, then starts playing again.
- izubiaurre asked 11 years ago
Please login first to submit.