Author Topic: System Volume Controls Mirror badly needed for BASSWasapi  (Read 108 times)


  • Posts: 1
Dear Creator,

BASS_WASAPI_SetVolume and BASS_WASAPI_SetMute functions let set system controls easily.

But an inverse task is not so easy.

I wouldn't like to call BASS_WASAPI_GetVolume ten times a second to smoothly mirror system session volume control in my application.

Is there any smart solution?

Is it - - a hint for you?

Thank you.

Ian @ un4seen

  • Administrator
  • Posts: 20670
BASSWASAPI doesn't currently have a volume/mute change notification system, but you could implement one yourself using the IAudioEndpointVolumeCallback interface, as in the link you posted. You can access the device of interest by using the "id" member of the BASS_WASAPI_DEVICEINFO structure in a IMMDeviceEnumerator::GetDevice call.