| 12345678910111213141516171819202122232425262728 |
- #pragma once
- #ifdef __cplusplus
- extern "C" {
- #endif
- typedef enum {
- PROMPT_BT_CONNECTED,
- PROMPT_BT_DISCONNECTED,
- PROMPT_LOW_BATTERY,
- } prompt_id_t;
- /**
- * @brief Initialize the audio prompt module.
- */
- void audio_prompt_init(void);
- /**
- * @brief Play a system prompt tone. This call is blocking and will interrupt
- * current audio playback (via taking the audio output mutex).
- *
- * @param id The prompt tone to play
- */
- void audio_prompt_play(prompt_id_t id);
- #ifdef __cplusplus
- }
- #endif
|