From cdda2a5b90a5335f671f2064f73adc6b267d156b Mon Sep 17 00:00:00 2001 From: vk7js <58905135+vk7js@users.noreply.github.com> Date: Sun, 8 May 2022 17:12:27 +1000 Subject: [PATCH] Added voice prompt for channel. --- openrtx/include/core/voicePrompts.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/openrtx/include/core/voicePrompts.h b/openrtx/include/core/voicePrompts.h index b1267a64..3a7e0fcc 100644 --- a/openrtx/include/core/voicePrompts.h +++ b/openrtx/include/core/voicePrompts.h @@ -95,6 +95,7 @@ PROMPT_CAP, // cap PROMPT_HERTZ, // hertz PROMPT_KILOHERTZ, // Kilohertz PROMPT_MEGAHERTZ, // Megahertz +PROMPT_CHANNEL, PROMPT_VFO, // V F O PROMPT_MILLISECONDS, // Milliseconds PROMPT_SECONDS, // Seconds @@ -156,6 +157,13 @@ typedef enum vpAnnouncePhoneticRendering=0x40, } VoicePromptFlags_T; +typedef enum +{ + vpqInit=0x01, // stop any voice prompts already in progress. + vpqPlayImmediately=0x02, // call play after queue. + vpqIncludeDescriptions=0x04 +} VoicePromptQueueFlags_T; + extern bool voicePromptDataIsLoaded; extern const uint32_t VOICE_PROMPTS_FLASH_HEADER_ADDRESS; // Loads just the TOC from Flash and stores in RAM for fast access.