diff options
Diffstat (limited to 'Alc/panning.cpp')
-rw-r--r-- | Alc/panning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.cpp b/Alc/panning.cpp index 1d1eb7ef..6507cec5 100644 --- a/Alc/panning.cpp +++ b/Alc/panning.cpp @@ -1116,7 +1116,7 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, enum HrtfRequestMode hrtf if(VECTOR_SIZE(device->HrtfList) == 0) { VECTOR_DEINIT(device->HrtfList); - device->HrtfList = EnumerateHrtf(device->DeviceName); + device->HrtfList = EnumerateHrtf(alstr_get_cstr(device->DeviceName)); } if(hrtf_id >= 0 && (size_t)hrtf_id < VECTOR_SIZE(device->HrtfList)) |