diff options
Diffstat (limited to 'Alc/backends/winmm.c')
-rw-r--r-- | Alc/backends/winmm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/winmm.c b/Alc/backends/winmm.c index 9641bcf8..21d1b50b 100644 --- a/Alc/backends/winmm.c +++ b/Alc/backends/winmm.c @@ -345,7 +345,7 @@ retry_open: goto failure; } - pDevice->szDeviceName = strdup(PlaybackDeviceList[lDeviceID]); + pDevice->DeviceName = strdup(PlaybackDeviceList[lDeviceID]); return ALC_NO_ERROR; failure: @@ -615,7 +615,7 @@ static ALCenum WinMMOpenCapture(ALCdevice *pDevice, const ALCchar *deviceName) if (pData->hWaveThread == NULL) goto failure; - pDevice->szDeviceName = strdup(CaptureDeviceList[lDeviceID]); + pDevice->DeviceName = strdup(CaptureDeviceList[lDeviceID]); return ALC_NO_ERROR; failure: |