Author Topic: Mixer Stream detection  (Read 89 times)

Ed1966

  • Posts: 120
Mixer Stream detection
« on: 10 May '19 - 08:08 »
Hi,

Is it possible to detect if there are streams added to the Mixer?

I use MasterMixer and start (Play) with program start. If necessary, I will add a stream.
Possibly it is empty (no stream added with BASS_Mixer_StreamAddChannel) and I want to check this.

Regard,
Eduard.

Ian @ un4seen

  • Administrator
  • Posts: 21731
Re: Mixer Stream detection
« Reply #1 on: 10 May '19 - 17:43 »
You can get the number of sources (and optionally their handles) from BASS_Mixer_StreamGetChannels. Please see the documentation for details.

Ed1966

  • Posts: 120
Re: Mixer Stream detection
« Reply #2 on: 11 May '19 - 16:17 »
Thank you  :D