mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 20:15:29 +02:00
update plugin api
This commit is contained in:
parent
d4797dc9f8
commit
607379980e
1 changed files with 2 additions and 2 deletions
|
@ -725,7 +725,7 @@ QString OpenVrDisplayPlugin::getPreferredAudioInDevice() const {
|
|||
std::vector<WCHAR> deviceW;
|
||||
deviceW.assign(size, INIT);
|
||||
device.toWCharArray(deviceW.data());
|
||||
device = AudioClient::friendlyNameForAudioDevice(deviceW.data());
|
||||
device = AudioClient::getWinDeviceName(deviceW.data());
|
||||
}
|
||||
return device;
|
||||
}
|
||||
|
@ -738,7 +738,7 @@ QString OpenVrDisplayPlugin::getPreferredAudioOutDevice() const {
|
|||
std::vector<WCHAR> deviceW;
|
||||
deviceW.assign(size, INIT);
|
||||
device.toWCharArray(deviceW.data());
|
||||
device = AudioClient::friendlyNameForAudioDevice(deviceW.data());
|
||||
device = AudioClient::getWinDeviceName(deviceW.data());
|
||||
}
|
||||
return device;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue