waveOutReset function Null safety winmm
- int hwo
The waveOutReset function stops playback on the given waveform-audio output device and resets the current position to zero. All pending playback buffers are marked as done (WHDR_DONE) and returned to the application.
MMRESULT waveOutReset(
HWAVEOUT hwo
);
Implementation
int waveOutReset(int hwo) {
final _waveOutReset =
_winmm.lookupFunction<Uint32 Function(IntPtr hwo), int Function(int hwo)>(
'waveOutReset');
return _waveOutReset(hwo);
}