Author Topic: BASS_MIXER_NONSTOP  (Read 503 times)

rv

  • Posts: 249
BASS_MIXER_NONSTOP
« on: 13 Sep '18 - 16:02 »
Hello,

Is there any interest of using BASS_MIXER_NONSTOP on the final mixer when playing in realtime with ASIO some VST instruments + BASSMIDI synth with a VST reverb ?

What about if I also add a push stream fed from an input in that mixer?

Regards,

Dan

Ian @ un4seen

  • Administrator
  • Posts: 21379
Re: BASS_MIXER_NONSTOP
« Reply #1 on: 13 Sep '18 - 17:27 »
You would use the BASS_MIXER_NONSTOP flag when you want the mixer to produce output even when it has no sources (or the sources don't have sufficient data available). There isn't generally any need to use it when the mixer is feeding ASIO output because the ASIOPROC can return a lower value if it wasn't able to provide the requested amount of data.

A typical use of the BASS_MIXER_NONSTOP flag would be when the mixer output is being casted (eg. using BASSenc), so that silence gets sent instead of nothing at all when there's nothing playing.

rv

  • Posts: 249
Re: BASS_MIXER_NONSTOP
« Reply #2 on: 13 Sep '18 - 19:25 »
When they are too much busy, some VST instruments may takes more time to fill the buffer.
What will happen if one of the mixer's VSTi streams is too slow to provide the requested data by ASIO or WASAPI (exclusive) output ?
May the BASS_MIXER_NONSTOP helps somewhere to continue life and all streams to stay together?

Ian @ un4seen

  • Administrator
  • Posts: 21379
Re: BASS_MIXER_NONSTOP
« Reply #3 on: 14 Sep '18 - 16:16 »
I don't think the BASS_MIXER_NONSTOP flag would help in that case. A mixer will always wait for its sources to provide whatever data they can. It is up to the sources to do so in a timely manner, eg. return less than requested if necessary.

If the mixer takes too long to produce its output (eg. due to its sources taking too long to provide their data) then there may be a little gap in the sound from the output device (depending on whether there is sufficient data buffered to cover it).