waveOutPause function Null safety winmm

int waveOutPause (
  1. int hwo
)

The waveOutPause function pauses playback on the given waveform-audio output device. The current position is saved. Use the waveOutRestart function to resume playback from the current position.

MMRESULT waveOutPause(
  HWAVEOUT hwo
);

Implementation

int waveOutPause(int hwo) {
  final _waveOutPause =
      _winmm.lookupFunction<Uint32 Function(IntPtr hwo), int Function(int hwo)>(
          'waveOutPause');
  return _waveOutPause(hwo);
}