diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-01-10 12:08:56 +0100 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-01-28 15:38:43 +0100 |
commit | 9ea8f82f17fa57a0648eb9b16d24957bba22f9f2 (patch) | |
tree | 2c546905dead411f2197a380ed8e4682adc55602 /4a-hal-utilities/4a-hal-utilities-data.h | |
parent | 5f5c1a6460b3bf342d1c3a01ae296ecb14560fb5 (diff) |
Add event to indicate hal stream changes
This event can be used to be notified when a stream has been
added/removed from hal.
Change-Id: I0511b948accf4d3dc25e5603cbaaf5f1da741b49
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal-utilities/4a-hal-utilities-data.h')
-rw-r--r-- | 4a-hal-utilities/4a-hal-utilities-data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/4a-hal-utilities/4a-hal-utilities-data.h b/4a-hal-utilities/4a-hal-utilities-data.h index a2f1f1a..62beac8 100644 --- a/4a-hal-utilities/4a-hal-utilities-data.h +++ b/4a-hal-utilities/4a-hal-utilities-data.h @@ -28,6 +28,8 @@ #include "4a-hal-utilities-alsa-data.h" +#define HAL_STREAM_UPDATES_EVENT_NAME "stream-updates" + // Enum for sharing hal (controller or external) status enum HalStatus { HAL_STATUS_UNAVAILABLE=0, @@ -52,6 +54,7 @@ struct CtlHalSpecificData { json_object *halMixerJ; struct CtlHalMixerData *ctlHalStreamsData; + AFB_EventT streamUpdates; struct CtlHalMixerData *ctlHalPlaybacksData; struct CtlHalMixerData *ctlHalCapturesData; |