waveOutGetVolume function winmm

int waveOutGetVolume(
  1. HWAVEOUT? hwo,
  2. Pointer<Uint32> pdwVolume
)

Retrieves the current volume level of the specified waveform-audio output device.

To learn more, see learn.microsoft.com/windows/win32/api/mmeapi/nf-mmeapi-waveoutgetvolume.

Implementation

@pragma('vm:prefer-inline')
int waveOutGetVolume(HWAVEOUT? hwo, Pointer<Uint32> pdwVolume) =>
    _waveOutGetVolume(hwo ?? nullptr, pdwVolume);