aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2019-01-10 09:49:24 +0100
committerJonathan Aillet <jonathan.aillet@iot.bzh>2019-01-28 15:38:43 +0100
commite3f74a9f59c05df601aa26554612fc68901c1646 (patch)
treede604ee593e46f57595a068dc261e048defd7668 /4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h
parent4f44ee8f17789ac27cd1e29a451ac450c7dbeb06 (diff)
Use linked-list to handle hal stream list
Use linked-list instead of an array to handle hal stream list. Usefull to add/remove dynamic stream (e.g. bluetooth). Change-Id: I39bbf0f16941f1c4642c916fdc5143a683c6460c Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h')
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h b/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h
index 9189664..7856bb7 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h
@@ -51,9 +51,11 @@ enum MixerStatus {
MIXER_ERROR_CAPTURE_VERB_NOT_CREATED =-5,
MIXER_ERROR_ALL_STREAMS_VERB_NOT_CREATED =-6,
MIXER_ERROR_DATA_NAME_UNAVAILABLE=-10,
- MIXER_ERROR_DATA_CARDID_UNAVAILABLE=-1000,
- MIXER_ERROR_STREAM_VERB_NOT_CREATED =-100000,
- MIXER_ERROR_STREAM_EVENT_NOT_CREATED =-10000000
+ MIXER_ERROR_DATA_CARDID_UNAVAILABLE=-100,
+ MIXER_ERROR_STREAM_NOT_ADDED_TO_STREAM_LIST =-1000,
+ MIXER_ERROR_STREAM_ALLOCATION_FAILED =-10000,
+ MIXER_ERROR_STREAM_EVENT_NOT_CREATED =-100000,
+ MIXER_ERROR_STREAM_VERB_NOT_CREATED =-1000000
};
// HAL controllers handle mixer calls functions