Hi, Is there a limit on the number the streamChannel will use?

Basically, I am playing from a playlist and after each song has finished am using:

FSOUND_Stream_Close streamHandle
streamHandle = 0
streamChannel = 0

before playing the next song in the list.

I then use the following for the next song in the list:

streamHandle = FSOUND_Stream_Open(frmPlaylist.lstLong.List(PLIndex), FSOUND_NORMAL + FSOUND_MPEGACCURATE, 0, 0)
streamChannel = FSOUND_Stream_Play(FSOUND_FREE, streamHandle)

I have noticed that the streamChannel initially starts at 4096 but each time it loads a new song it increases by 1, i.e becomes 4097 etc.

  1. Is this a problem?
  2. Will I run out of streamchannels?
  3. Will it eventually loop itself back to 4096?
  4. Should I be using a different method?


  • You must to post comments

Thanx Brett

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.