mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 13:58:51 +02:00
Merge pull request #12966 from SamGondelman/audio
Fix audio level meter
This commit is contained in:
commit
5cf93ebd1f
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ void Audio::setInputVolume(float volume) {
|
||||||
}
|
}
|
||||||
|
|
||||||
float Audio::getInputLevel() const {
|
float Audio::getInputLevel() const {
|
||||||
return resultWithReadLock<bool>([&] {
|
return resultWithReadLock<float>([&] {
|
||||||
return _inputLevel;
|
return _inputLevel;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue