mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
qt_sound: lower volume
This commit is contained in:
@@ -11,7 +11,7 @@ QtSound::QtSound() {
|
||||
bool QtSound::play(AudibleAlert alert) {
|
||||
int loops = sound_map[alert].second> - 1 ? sound_map[alert].second : QSoundEffect::Infinite;
|
||||
sounds[alert].setLoopCount(loops);
|
||||
sounds[alert].setVolume(0.7);
|
||||
sounds[alert].setVolume(0.45);
|
||||
sounds[alert].play();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user