aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/dsound.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/dsound.c')
-rw-r--r--Alc/backends/dsound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/dsound.c b/Alc/backends/dsound.c
index 0eab62a4..04e428a2 100644
--- a/Alc/backends/dsound.c
+++ b/Alc/backends/dsound.c
@@ -383,7 +383,7 @@ static ALCenum DSoundOpenPlayback(ALCdevice *device, const ALCchar *deviceName)
return ALC_INVALID_VALUE;
}
- device->szDeviceName = strdup(deviceName);
+ device->DeviceName = strdup(deviceName);
device->ExtraData = pData;
return ALC_NO_ERROR;
}
@@ -824,7 +824,7 @@ static ALCenum DSoundOpenCapture(ALCdevice *device, const ALCchar *deviceName)
pData->dwBufferBytes = DSCBDescription.dwBufferBytes;
SetDefaultWFXChannelOrder(device);
- device->szDeviceName = strdup(deviceName);
+ device->DeviceName = strdup(deviceName);
device->ExtraData = pData;
return ALC_NO_ERROR;