waveOutSetPitch function Null safety winmm

int waveOutSetPitch (
  1. int hwo,
  2. int dwPitch
)

The waveOutSetPitch function sets the pitch for the specified waveform-audio output device.

MMRESULT waveOutSetPitch(
  HWAVEOUT hwo,
  DWORD    dwPitch
);

Implementation

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