summaryrefslogtreecommitdiffstats
path: root/Alc/backends/portaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/portaudio.c')
-rw-r--r--Alc/backends/portaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/portaudio.c b/Alc/backends/portaudio.c
index c4f80e1a..13c83cef 100644
--- a/Alc/backends/portaudio.c
+++ b/Alc/backends/portaudio.c
@@ -219,7 +219,7 @@ retry_open:
}
device->ExtraData = data;
- device->szDeviceName = strdup(deviceName);
+ device->DeviceName = strdup(deviceName);
return ALC_NO_ERROR;
}
@@ -361,7 +361,7 @@ static ALCenum pa_open_capture(ALCdevice *device, const ALCchar *deviceName)
goto error;
}
- device->szDeviceName = strdup(deviceName);
+ device->DeviceName = strdup(deviceName);
device->ExtraData = data;
return ALC_NO_ERROR;