aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-handler.h
diff options
context:
space:
mode:
Diffstat (limited to '4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-handler.h')
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-handler.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-handler.h b/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-handler.h
index f06b649..b9c0ecd 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-handler.h
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-handler.h
@@ -24,6 +24,16 @@
#include "../4a-hal-utilities/4a-hal-utilities-data.h"
+// Enum for the type of error detected
+enum MixerStatus {
+ MIXER_NO_ERROR=0,
+ MIXER_ERROR_API_UNAVAILABLE=-1,
+ MIXER_ERROR_NO_STREAMS=-2,
+ MIXER_ERROR_STREAM_NAME_UNAVAILABLE=-10,
+ MIXER_ERROR_STREAM_CARDID_UNAVAILABLE=-1000,
+ MIXER_ERROR_COULDNT_ADD_STREAMS_AS_VERB =-100000,
+};
+
// HAL controllers handle mixer response function
int HalCtlsHandleMixerAttachResponse(afb_request *request, struct CtlHalStreamsDataT *currentHalStreamsData, json_object *MixerResponseJ);