Formatting

This commit is contained in:
Jonas Kvinge
2022-03-22 21:19:59 +01:00
parent f6b70fda71
commit a6c05df362
14 changed files with 30 additions and 1 deletions

View File

@@ -94,12 +94,14 @@ bool Engine::Base::Play(const QUrl &stream_url, const QUrl &original_url, const
}
return Play(offset_nanosec);
}
void Engine::Base::SetVolume(const uint value) {
volume_ = value;
SetVolumeSW(MakeVolumeLogarithmic(value));
}
uint Engine::Base::MakeVolumeLogarithmic(const uint volume) {