From 32e85d469b735260d827d50a6d37c0937d375914 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 7 Oct 2013 08:00:18 -0700 Subject: Use the UNUSED macro in the backends --- Alc/backends/winmm.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Alc/backends/winmm.c') diff --git a/Alc/backends/winmm.c b/Alc/backends/winmm.c index 4786d9b4..3b2b373b 100644 --- a/Alc/backends/winmm.c +++ b/Alc/backends/winmm.c @@ -146,14 +146,11 @@ static void ProbeCaptureDevices(void) Posts a message to 'PlaybackThreadProc' everytime a WaveOut Buffer is completed and returns to the application (for more data) */ -static void CALLBACK WaveOutProc(HWAVEOUT device, UINT msg, DWORD_PTR instance, DWORD_PTR param1, DWORD_PTR param2) +static void CALLBACK WaveOutProc(HWAVEOUT UNUSED(device), UINT msg, DWORD_PTR instance, DWORD_PTR param1, DWORD_PTR UNUSED(param2)) { ALCdevice *Device = (ALCdevice*)instance; WinMMData *data = Device->ExtraData; - (void)device; - (void)param2; - if(msg != WOM_DONE) return; @@ -213,14 +210,11 @@ static DWORD WINAPI PlaybackThreadProc(LPVOID param) Posts a message to 'CaptureThreadProc' everytime a WaveIn Buffer is completed and returns to the application (with more data) */ -static void CALLBACK WaveInProc(HWAVEIN device, UINT msg, DWORD_PTR instance, DWORD_PTR param1, DWORD_PTR param2) +static void CALLBACK WaveInProc(HWAVEIN UNUSED(device), UINT msg, DWORD_PTR instance, DWORD_PTR param1, DWORD_PTR UNUSED(param2)) { ALCdevice *Device = (ALCdevice*)instance; WinMMData *data = Device->ExtraData; - (void)device; - (void)param2; - if(msg != WIM_DATA) return; -- cgit v1.2.3