Beep-on-packet support in TPMS app (#2062)

* Beep-on-packet support in TPMS app
* audio::output::stop when exiting
This commit is contained in:
Mark Thompson
2024-03-29 15:28:27 -05:00
committed by GitHub
parent 0db65ccb6b
commit 746bf1c15f
4 changed files with 31 additions and 1 deletions

View File

@@ -140,6 +140,9 @@ class TPMSProcessor : public BasebandProcessor {
shared_memory.application_queue.push(message);
}};
void on_message(const Message* const message);
void on_beep_message(const AudioBeepMessage& message);
/* NB: Threads should be the last members in the class definition. */
BasebandThread baseband_thread{
baseband_fs, this, baseband::Direction::Receive, /*auto_start*/ false};