summaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-utilities
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-11 01:34:12 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:52:51 +0200
commit3571ce961cc7920f6f2d976e7880b0e220330d11 (patch)
tree01d7988e59b8321f41ebd699524efb6139dd5097 /4a-hal/4a-hal-utilities
parente8cd2f8161706331208168c8171f0677838549d6 (diff)
Change mixer data structures names
Change mixer data structures names bacause we won't only stores streams data anymore. Change-Id: Id7e4482b6a69696d156c6a8bfc8f8d231dba9d2c Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-utilities')
-rw-r--r--4a-hal/4a-hal-utilities/4a-hal-utilities-data.c2
-rw-r--r--4a-hal/4a-hal-utilities/4a-hal-utilities-data.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.c b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.c
index b2c4b25..e8f54a2 100644
--- a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.c
+++ b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.c
@@ -31,7 +31,7 @@
* Specfic Hal controller streams data handling functions *
******************************************************************************/
-uint8_t HalUtlRemoveAllCtlHalStreamsData(struct CtlHalStreamsDataT *ctlHalStreamsData)
+uint8_t HalUtlRemoveAllCtlHalStreamsData(struct CtlHalMixerDataT *ctlHalStreamsData)
{
unsigned int cpt;
diff --git a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h
index a79a7f1..244546f 100644
--- a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h
+++ b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h
@@ -37,14 +37,14 @@ enum HalStatus {
};
// Structure to store stream data
-struct CtlHalStreamData {
+struct CtlHalMixerData {
char *name;
char *streamCardId;
};
// Structure to store stream data table
-struct CtlHalStreamsDataT {
- struct CtlHalStreamData *data;
+struct CtlHalMixerDataT {
+ struct CtlHalMixerData *data;
unsigned int count;
};
@@ -54,7 +54,7 @@ struct CtlHalSpecificData {
char *mixerVerbName;
json_object *halMixerJ;
- struct CtlHalStreamsDataT ctlHalStreamsData;
+ struct CtlHalMixerDataT ctlHalStreamsData;
struct CtlHalAlsaMapT *ctlHalAlsaMapT;
AFB_ApiT apiHandle;