aboutsummaryrefslogtreecommitdiffstats
path: root/lib/4a-hal-utilities
diff options
context:
space:
mode:
Diffstat (limited to 'lib/4a-hal-utilities')
-rw-r--r--lib/4a-hal-utilities/4a-hal-utilities-data.c14
-rw-r--r--lib/4a-hal-utilities/4a-hal-utilities-data.h13
2 files changed, 19 insertions, 8 deletions
diff --git a/lib/4a-hal-utilities/4a-hal-utilities-data.c b/lib/4a-hal-utilities/4a-hal-utilities-data.c
index 5bd6b27..3918db4 100644
--- a/lib/4a-hal-utilities/4a-hal-utilities-data.c
+++ b/lib/4a-hal-utilities/4a-hal-utilities-data.c
@@ -77,7 +77,8 @@ struct InternalHalProbedDevice *HalUtlAddProbedDeviceToProbedDeviceList(struct I
return currentProbedDevice;
}
-int HalUtlRemoveSelectedProbedDeviceFromList(struct InternalHalProbedDevice **probedDevicesList, struct InternalHalProbedDevice *probedDeviceToRemove)
+int HalUtlRemoveSelectedProbedDeviceFromList(struct InternalHalProbedDevice **probedDevicesList,
+ struct InternalHalProbedDevice *probedDeviceToRemove)
{
struct InternalHalProbedDevice *currentProbedDevice, *matchingProbedDevice;
@@ -163,7 +164,8 @@ int HalUtlGetNumberOfProbedDevicesInList(struct InternalHalProbedDevice **probed
return numberOfProbedDevices;
}
-struct InternalHalProbedDevice *HalUtlSearchProbedDeviceDataById(struct InternalHalProbedDevice **probedDevicesList, char *uid)
+struct InternalHalProbedDevice *HalUtlSearchProbedDeviceDataById(struct InternalHalProbedDevice **probedDevicesList,
+ char *uid)
{
struct InternalHalProbedDevice *currentProbedDevice;
@@ -253,7 +255,8 @@ struct InternalHalMixerData *HalUtlAddMixerDataToMixerDataList(struct InternalHa
return currentMixerData;
}
-int HalUtlRemoveSelectedMixerData(struct InternalHalMixerData **mixerDataList, struct InternalHalMixerData *mixerDataToRemove)
+int HalUtlRemoveSelectedMixerData(struct InternalHalMixerData **mixerDataList,
+ struct InternalHalMixerData *mixerDataToRemove)
{
struct InternalHalMixerData *currentMixerData, *matchingMixerData;
@@ -321,7 +324,10 @@ int HalUtlGetNumberOfMixerDataInList(struct InternalHalMixerData **mixerDataList
return numberOfMixerData;
}
-struct InternalHalMixerData *HalUtlSearchMixerDataByProperties(struct InternalHalMixerData **mixerDataList, char *verb, char *verbToCall, char *streamCardId)
+struct InternalHalMixerData *HalUtlSearchMixerDataByProperties(struct InternalHalMixerData **mixerDataList,
+ char *verb,
+ char *verbToCall,
+ char *streamCardId)
{
struct InternalHalMixerData *currentMixerData;
diff --git a/lib/4a-hal-utilities/4a-hal-utilities-data.h b/lib/4a-hal-utilities/4a-hal-utilities-data.h
index c072650..0ec66e6 100644
--- a/lib/4a-hal-utilities/4a-hal-utilities-data.h
+++ b/lib/4a-hal-utilities/4a-hal-utilities-data.h
@@ -133,18 +133,23 @@ struct HalMgrData {
// Internal Hal - Probed devices structure handling functions
enum ProbedDeviceClasses HalUtlGetProbedDeviceClassFromString(char *probedDeviceString);
struct InternalHalProbedDevice *HalUtlAddProbedDeviceToProbedDeviceList(struct InternalHalProbedDevice **probedDevicesList);
-int HalUtlRemoveSelectedProbedDeviceFromList(struct InternalHalProbedDevice **probedDevicesList, struct InternalHalProbedDevice *probedDeviceToRemove);
+int HalUtlRemoveSelectedProbedDeviceFromList(struct InternalHalProbedDevice **probedDevicesList,
+ struct InternalHalProbedDevice *probedDeviceToRemove);
int HalUtlRemoveAllProbedDevicesFromList(struct InternalHalProbedDevice **probedDevicesList);
int HalUtlGetNumberOfProbedDevicesInList(struct InternalHalProbedDevice **probedDevicesList);
-struct InternalHalProbedDevice *HalUtlSearchProbedDeviceDataById(struct InternalHalProbedDevice **probedDevicesList, char *uid);
+struct InternalHalProbedDevice *HalUtlSearchProbedDeviceDataById(struct InternalHalProbedDevice **probedDevicesList,
+ char *uid);
struct InternalHalDeviceData *HalUtlAllocateAndFillProbedDeviceDataUsingInfoGetResponse(json_object *responseJ);
// Internal Hal - Streams data handling functions
struct InternalHalMixerData *HalUtlAddMixerDataToMixerDataList(struct InternalHalMixerData **mixerDataList);
-int HalUtlRemoveSelectedMixerData(struct InternalHalMixerData **mixerDataList, struct InternalHalMixerData *mixerDataToRemove);
+int HalUtlRemoveSelectedMixerData(struct InternalHalMixerData **mixerDataList,
+ struct InternalHalMixerData *mixerDataToRemove);
int HalUtlRemoveAllMixerData(struct InternalHalMixerData **mixerDataList);
int HalUtlGetNumberOfMixerDataInList(struct InternalHalMixerData **mixerDataList);
-struct InternalHalMixerData *HalUtlSearchMixerDataByProperties(struct InternalHalMixerData **mixerDataList, char *verb, char *verbToCall, char *streamCardId);
+struct InternalHalMixerData *HalUtlSearchMixerDataByProperties(struct InternalHalMixerData **mixerDataList,
+ char *verb, char *verbToCall,
+ char *streamCardId);
// Hal data handling functions
struct HalData *HalUtlAddHalToHalList(struct HalData **halDataList);