Merge pull request #12966 from SamGondelman/audio

Fix audio level meter
This commit is contained in:
John Conklin II 2018-04-23 14:56:57 -07:00 committed by GitHub
commit 5cf93ebd1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,7 @@ void Audio::setInputVolume(float volume) {
}
float Audio::getInputLevel() const {
return resultWithReadLock<bool>([&] {
return resultWithReadLock<float>([&] {
return _inputLevel;
});
}