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-30 01:58:35 +0000 |
commit | dc5104d4254c9789a9b1ebce4543f0558e56aaac (patch) | |
tree | b2555bf9bf36d1dbab531c88f3e1bba3681ddc3b /src/plugins/VshlCoreApi.h | |
parent | ed834a643e3843c0f805ea33363c9f2889d2bab3 (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); |