mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 07:23:00 +02:00
Cleanup
This commit is contained in:
parent
e8ddee280d
commit
e671a124c3
2 changed files with 5 additions and 5 deletions
|
@ -401,13 +401,13 @@ void Audio::setReverbOptions(const AudioEffectOptions* options) {
|
|||
void Audio::setAvatarGain(float gain) {
|
||||
withWriteLock([&] {
|
||||
// ask the NodeList to set the master avatar gain
|
||||
DependencyManager::get<NodeList>()->setAvatarGain("", gain);
|
||||
DependencyManager::get<NodeList>()->setAvatarGain(QUuid(), gain);
|
||||
});
|
||||
}
|
||||
|
||||
float Audio::getAvatarGain() {
|
||||
return resultWithReadLock<float>([&] {
|
||||
return DependencyManager::get<NodeList>()->getAvatarGain("");
|
||||
return DependencyManager::get<NodeList>()->getAvatarGain(QUuid());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue