openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.

18 lines
321 B

6 years ago
#ifndef __SOUND_HPP
#define __SOUND_HPP
#include "cereal/gen/cpp/log.capnp.h"
6 years ago
typedef cereal::CarControl::HUDControl::AudibleAlert AudibleAlert;
6 years ago
void ui_sound_init();
void ui_sound_destroy();
void set_volume(int volume);
void play_alert_sound(AudibleAlert alert);
void stop_alert_sound(AudibleAlert alert);
#endif