Starting and stopping

Started by Richard_b,

Richard_b

IN mY Bass player...when you press the stop button..the audio contiues for a short while..maybe upto 1 second...is there a reason for this? I need to be able to quickly and accutately start and stop the audio..any ideas?

Ingolf2

Are you using a custom stream or something? And how do you stop it?

It sounds to me that when you stop your stream, the wave data that still sits in the buffer is played until there is no data left.

Richard_b

I use     If BASS_ChannelStop(STRM) = BASSFALSE Then Call log_event(Index, "Error")
  to stop..is there a quicker and better way?

Ingolf2

Do you also play the file using BASS_StreamPlay? Or are you using BASS_ChannelGetData or something to get it's data...

Richard_b

I use Bass_streamplay...does that help?

Ian @ un4seen

Does the same thing happen when stopping a stream in the precompiled BASSTEST example?

If it does, what is your system setup... Windows version, DirectX version, soundcard, latest drivers?