mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-10 02:03:42 +08:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user