Skip to content

Commit

Permalink
SERXIONE-3000: Voice Guidance Spectrum asset heard when Xumo is in fo…
Browse files Browse the repository at this point in the history
…reground (#283)

Reason for change:Enable Access restriction on TTS for COM-RPC interface
Test Procedure: Mentioned in ticket
Risks: Low

Signed-off-by: vdinak240 <[email protected]>
Co-authored-by: Pierre Wielders <[email protected]>
  • Loading branch information
vdinak240 and pwielders authored Sep 8, 2023
1 parent 8d26d6a commit 64961d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion interfaces/ITextToSpeech.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ namespace Exchange {
virtual uint32_t SetFallbackText(const string scenario,const string value) = 0;
virtual uint32_t SetAPIKey(const string apikey) = 0;
virtual uint32_t SetPrimaryVolDuck(const uint8_t prim) = 0;
virtual uint32_t SetACL(const string method,const string apps) = 0;

// @brief Retrieve tts configuration attributes
// @param config tts configuration
Expand All @@ -91,10 +92,11 @@ namespace Exchange {
virtual uint32_t ListVoices(const string language,RPC::IStringIterator*& voices/* @out */) const = 0;

// @brief Speaks text provided
// @param callsign of app
// @param text for conversion
// @param speechid returns id for the text
// @param status return status
virtual uint32_t Speak(const string text,uint32_t &speechid/* @out */,TTSErrorDetail &status/* @out */) = 0;
virtual uint32_t Speak(const string callsign,const string text,uint32_t &speechid/* @out */,TTSErrorDetail &status/* @out */) = 0;

// @brief Cancel the speech
// @param speechid id of text to be cancelled
Expand Down

0 comments on commit 64961d1

Please sign in to comment.