0
0

I know I’ve sorta grouped this in my previous posts but it hasnt gotten much attention so I thought I’d separate it to a new thread.

In my app I have several arrays to hold status, stream and channel handles for several “carts” like a radio DJ setup. SetPaused() doesnt seem to unpause, given a handle to the channel I paused. Here’s a simplified snippet of my existing pause code (“Index” is a channel handle):

If FSOUND_IsPlaying(Index) Then
‘pause it
fm = FSOUND_SetPaused(Index, True)
Else
‘unpause
fm = FSOUND_SetPaused(Index, False)
End If

Play and Stop commands which look strikingly similar to the above work perfectly. I use the FSOUND_Stream_* methods to open/close play/stop etc. What could be wrong?

  • You must to post comments
0
0

It seems you are using visual basic.
Try using 1 and 0 instead of True and False.
Also when checking the return value (if FSOUND_GetPaused(chan) = 0 then)

  • You must to post comments
0
0

Sorry to dupe but I got some other advice in the VB forum, and I was able to get the fade in, pause/unpause, and all the other goodies working.

All that remains is looping and a stereo VU implementation and my audio features will be complete for now :smile:

P.S. I’d like to cast my vote toward a version of FMOD supporting multi soundcards, as my app in the long run will benefit from such a feature (its a DJ/broadcast helper). Keep up the good work brett, Adion, et al ๐Ÿ˜‰

  • You must to post comments
0
0

Looking forward to that release ๐Ÿ˜‰

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.