waveOutGetPlaybackRate

[DllImport("winmm.dll", SetLastError = true)]
public static extern uint waveOutGetPlaybackRate(
   IntPtr hwo,
   ref int pdwRate
);

Microsoft documentation: Link

Last updated