diff options
author | Scott Murray <scott.murray@konsulko.com> | 2019-12-29 21:05:27 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2019-12-29 21:12:33 -0500 |
commit | 5279260ee250060b86212e41fe2522db9bcb173d (patch) | |
tree | 810b76ac37b9dca58467c77e78446c079970c4b6 /src/plugins/VshlCoreApi.h | |
parent | 9a4ec5a5793ce904333f6087cf31d7819206c101 (diff) |
Add signal-composer voice event support
Add support for triggering listening (push-to-talk/PTT) via the
signal-composer "event.voice" event. This enables PTT from the
steering wheel for the CES demo.
Note that this relies on a fix to signal-composer to add the
session context uuid to the replies from event subscribe calls.
Without that, it's not feasible to catch the signal-composer
events with the libappcontroller event scheme and some more
significant rework would be required.
Bug-AGL: SPEC-3048
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I22c7265c2f08ecc0a598fd88ddf4fd53f8c3e880
Diffstat (limited to 'src/plugins/VshlCoreApi.h')
-rw-r--r-- | src/plugins/VshlCoreApi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/VshlCoreApi.h b/src/plugins/VshlCoreApi.h index eb90190..7c5bf69 100644 --- a/src/plugins/VshlCoreApi.h +++ b/src/plugins/VshlCoreApi.h @@ -29,7 +29,9 @@ int onConnectionStateEvent(CtlSourceT* source, json_object* argsJ, json_object* int onDialogStateEvent(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int onLoginPairReceivedEvent(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int onLoginPairExpiredEvent(CtlSourceT* source, json_object* argsJ, json_object* queryJ); +int onVoiceTriggerEvent(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int loadVoiceAgentsConfig(CtlSourceT* source, json_object* argsJ, json_object* queryJ); +int subscribeVoiceTriggerEvents(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int startListening(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int cancelListening(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int enumerateVoiceAgents(CtlSourceT* source, json_object* argsJ, json_object* queryJ); |