Author Topic: sync callback  (Read 2537 times)

engineeer

  • Posts: 86
sync callback
« on: 14 Jun '03 - 18:01 »
Seems that BASS_ChannelSetSync with BASS_SYNC_SLIDE sync type doesn't call callback function when I call BASS_ChannelSlideAttributes with volume parameter set to -2 (fade to 0 and stop the channel)?
Am I missing something...?

Ian @ un4seen

  • Administrator
  • Posts: 21987
Re: sync callback
« Reply #1 on: 15 Jun '03 - 13:06 »
I guess you're using the BASS_STREAM_AUTOFREE flag. At the moment, that won't trigger a sync because the stream is freed first... I'll make it trigger the sync first in 1.8a, which is due for release within a few days.

engineeer

  • Posts: 86
Re: sync callback
« Reply #2 on: 15 Jun '03 - 13:28 »
Yep, that's right, I'm using the BASS_STREAM_AUTOFREE flag.
Thanks Ian.