diff options
Diffstat (limited to '4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.h')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.h b/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.h index 4844952..03b47e7 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.h +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.h @@ -22,6 +22,8 @@ #include <wrap-json.h> +#include <afb/afb-binding.h> + #include "4a-hal-controllers-alsacore-link.h" // Enum for the type of conversion requested @@ -35,14 +37,14 @@ int HalCtlsConvertValueToPercentage(double val, double min, double max); int HalCtlsConvertPercentageToValue(int percentage, int min, int max); // Convert json object from percentage to value -int HalCtlsConvertJsonValues(AFB_ApiT apiHandle, +int HalCtlsConvertJsonValues(afb_api_t apiHandle, struct CtlHalAlsaCtlProperties *alsaCtlProperties, json_object *toConvertJ, json_object **ConvertedJ, enum ConversionType requestedConversion); // Increase/Decrease previous values using percentage passed in Json -int HalCtlsChangePreviousValuesUsingJson(AFB_ApiT apiHandle, +int HalCtlsChangePreviousValuesUsingJson(afb_api_t apiHandle, struct CtlHalAlsaCtlProperties *alsaCtlProperties, json_object *requestedPercentageVariationJ, json_object *previousControlValuesJ, |