diff --git a/selfdrive/ui/qt/qt_sound.cc b/selfdrive/ui/qt/qt_sound.cc index 107e299d55..c18b2d5850 100644 --- a/selfdrive/ui/qt/qt_sound.cc +++ b/selfdrive/ui/qt/qt_sound.cc @@ -18,7 +18,10 @@ bool QtSound::play(AudibleAlert alert) { void QtSound::stop() { for (auto &kv : sounds) { - kv.second.stop(); + // Only stop repeating sounds + if (sound_map[kv.first].second != 0) { + kv.second.stop(); + } } }