Fix some alert sounds not repeating (#1763)

* fix sounds not repeating

* fix PC build

* 3 loop

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: af22b282ff20201914a462488700971cfe32cb20
This commit is contained in:
Adeeb Shihadeh
2020-06-22 19:22:02 -07:00
committed by GitHub
parent 00bc04a870
commit 4c19a49586
5 changed files with 29 additions and 29 deletions
+2 -3
View File
@@ -83,10 +83,9 @@ int touch_read(TouchState *s, int* out_x, int* out_y) {
#include "sound.hpp"
bool Sound::init(int volume) { return true; }
bool Sound::play(AudibleAlert alert, int repeat) { return true; }
bool Sound::play(AudibleAlert alert) { return true; }
void Sound::stop() {}
void Sound::setVolume(int volume, int timeout_seconds) {}
AudibleAlert Sound::currentPlaying() { return AudibleAlert::NONE; }
void Sound::setVolume(int volume) {}
Sound::~Sound() {}
#include "common/visionimg.h"