ref: dda0dd2fac199d7b3885f3def88461437842614c
parent: a8cf5e1846bb20f283c1bd65e0b660394df782d7
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Oct 21 14:56:26 EDT 2019
Fix mismatching function declaration in header Noticed this while trying to compile CSE2 with winelib.
--- a/src/Sound.h
+++ b/src/Sound.h
@@ -38,7 +38,7 @@
BOOL InitDirectSound(HWND hwnd);
void EndDirectSound(void);
void PlaySoundObject(int no, int mode);
-void ChangeSoundFrequency(int no, unsigned long rate);
+void ChangeSoundFrequency(int no, DWORD rate);
void ChangeSoundVolume(int no, long volume);
void ChangeSoundPan(int no, long pan);
int MakePixToneObject(const PIXTONEPARAMETER *ptp, int ptp_num, int no);