mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-06 14:23:23 +02:00
Fix erroneous hard-coded audio setting string
This commit is contained in:
parent
da2aefb6b2
commit
f83ea58a10
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ QString getVrSettingString(const char* section, const char* setting) {
|
|||
vr::IVRSettings * vrSettings = vr::VRSettings();
|
||||
if (vrSettings) {
|
||||
vr::EVRSettingsError error = vr::VRSettingsError_None;
|
||||
vrSettings->GetString(vr::k_pch_audio_Section, vr::k_pch_audio_OnPlaybackDevice_String, BUFFER, BUFFER_SIZE, &error);
|
||||
vrSettings->GetString(vr::k_pch_audio_Section, setting, BUFFER, BUFFER_SIZE, &error);
|
||||
if (error == vr::VRSettingsError_None) {
|
||||
result = BUFFER;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue