Add TTS_STREAM_START/END events (#586)

This commit is contained in:
Jesse Hills 2023-10-17 14:28:58 +13:00 committed by GitHub
parent b1ebf2bf07
commit dbdb5b442f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 8 deletions

View File

@ -1478,6 +1478,8 @@ enum VoiceAssistantEvent {
VOICE_ASSISTANT_WAKE_WORD_END = 10; VOICE_ASSISTANT_WAKE_WORD_END = 10;
VOICE_ASSISTANT_STT_VAD_START = 11; VOICE_ASSISTANT_STT_VAD_START = 11;
VOICE_ASSISTANT_STT_VAD_END = 12; VOICE_ASSISTANT_STT_VAD_END = 12;
VOICE_ASSISTANT_TTS_STREAM_START = 98;
VOICE_ASSISTANT_TTS_STREAM_END = 99;
} }
message VoiceAssistantEventData { message VoiceAssistantEventData {

File diff suppressed because one or more lines are too long

View File

@ -1120,6 +1120,8 @@ class VoiceAssistantEventType(APIIntEnum):
VOICE_ASSISTANT_WAKE_WORD_END = 10 VOICE_ASSISTANT_WAKE_WORD_END = 10
VOICE_ASSISTANT_STT_VAD_START = 11 VOICE_ASSISTANT_STT_VAD_START = 11
VOICE_ASSISTANT_STT_VAD_END = 12 VOICE_ASSISTANT_STT_VAD_END = 12
VOICE_ASSISTANT_TTS_STREAM_START = 98
VOICE_ASSISTANT_TTS_STREAM_END = 99
_TYPE_TO_NAME = { _TYPE_TO_NAME = {