0
0

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.

Any help?

Thanks!

  • You must to post comments
0
0

You will get better support ont he VB interface using FMOD Ex not fmod3.

  • You must to post comments
0
0

I use only four functions for playing sounds; init, play, stop, pause… nothing more. Change entire sound system has sense to get ride of this errors?

Maybe it will be useful to paste here sourcecode…

  • You must to post comments
0
0

we didnt provide the headers for fmod3, a 3rd party did. We created the headers for VB on FMOD Ex and support them and can give feedback on them.

  • You must to post comments
0
0

Thanks!

I found very useful the migration help (from 3.75 to Ex) and now looks the API more easier to work with it (so I haven’t to different FMUSIC and FSOUND). The VB samples are very useful to learn from.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.