Author Topic: BASS Android multi channel (multitrack) syncing  (Read 268 times)

Guillermo Raya Batanero

  • Guest
Hi, i am trying to figure out the way to play 5 channels simultenaously, but i am not sure hot to get this, Could you help to me? My problem is that my instances of the player are not played at same time, there is some lag delay.

Thanks!

Ian @ un4seen

  • Administrator
  • Posts: 21358
Re: BASS Android multi channel (multitrack) syncing
« Reply #1 on: 26 Feb '18 - 15:24 »
If you link the channels via BASS_ChannelSetLink, they should all start simultaneously when you call BASS_ChannelPlay. You could do domething like this:

Code: [Select]
// link the other channels to the 1st one
for (int a=1; a<5; a++)
BASS.BASS_ChannelSetLink(channel[0], channel[a]);
// start them
BASS.BASS_ChannelPlay(channel[0], false);