Author Topic: WASAPI volume of the app.  (Read 643 times)

3delite

  • Posts: 895
WASAPI volume of the app.
« on: 25 Sep '14 - 23:12 »
Hi!

Using BASS_WASAPI_SetVolume() seems to affect all app.'s output volume (all sliders change in the Windows mixer). Is there a possibility to set only my app.'s volume?

Ian @ un4seen

  • Administrator
  • Posts: 20389
Re: WASAPI volume of the app.
« Reply #1 on: 26 Sep '14 - 12:52 »
Yep, you can use the BASS_WASAPI_VOL_SESSION flag in the BASS_WASAPI_SetVolume call to have it only affect your app's output.

Code: [Select]
BASS_WASAPI_SetVolume(BASS_WASAPI_VOL_SESSION, volume);

3delite

  • Posts: 895
Re: WASAPI volume of the app.
« Reply #2 on: 27 Sep '14 - 19:54 »
Cool, it works! Thank you!