Use the correct winmm device ID type

This commit is contained in:
Chris Robinson 2011-02-08 10:33:18 -08:00
parent 667fd24c84
commit fd64fea279

View File

@ -303,7 +303,7 @@ static ALCboolean WinMMOpenPlayback(ALCdevice *pDevice, const ALCchar *deviceNam
{ {
WAVEFORMATEX wfexFormat; WAVEFORMATEX wfexFormat;
WinMMData *pData = NULL; WinMMData *pData = NULL;
UINT_PTR lDeviceID = 0; UINT lDeviceID = 0;
MMRESULT res; MMRESULT res;
ALuint i = 0; ALuint i = 0;
@ -490,7 +490,7 @@ static ALCboolean WinMMOpenCapture(ALCdevice *pDevice, const ALCchar *deviceName
WAVEFORMATEX wfexCaptureFormat; WAVEFORMATEX wfexCaptureFormat;
DWORD ulCapturedDataSize; DWORD ulCapturedDataSize;
WinMMData *pData = NULL; WinMMData *pData = NULL;
ALint lDeviceID = 0; UINT lDeviceID = 0;
ALbyte *BufferData; ALbyte *BufferData;
ALint lBufferSize; ALint lBufferSize;
MMRESULT res; MMRESULT res;