aboutsummaryrefslogtreecommitdiffstats
path: root/alsa-binding/Alsa-ApiHat.h
diff options
context:
space:
mode:
Diffstat (limited to 'alsa-binding/Alsa-ApiHat.h')
-rw-r--r--alsa-binding/Alsa-ApiHat.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/alsa-binding/Alsa-ApiHat.h b/alsa-binding/Alsa-ApiHat.h
index b5d3866..ba0d054 100644
--- a/alsa-binding/Alsa-ApiHat.h
+++ b/alsa-binding/Alsa-ApiHat.h
@@ -71,11 +71,9 @@ typedef struct {
// generic structure to pass parsed query values
typedef struct {
- const char *devid;
json_object *numidsJ;
- queryModeE mode;
int count;
-} queryValuesT;
+} controlQueryValuesT;
// use to store crl numid user request
typedef struct {
@@ -88,7 +86,8 @@ typedef struct {
// import from AlsaAfbBinding
extern const struct afb_binding_interface *afbIface;
-PUBLIC json_object *alsaCheckQuery (afb_req_t request, queryValuesT *queryValues);
+PUBLIC char *alsaGetDevIdFromQuery(json_object *queryJ);
+PUBLIC queryModeE alsaGetModeFromQuery(json_object *queryJ);
// AlseCoreSetGet exports
PUBLIC int getCardNbFromCardPath(char *cardPath);