aboutsummaryrefslogtreecommitdiffstats
path: root/AudioLogic/AudioLogicLib.h
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-03-09 15:58:04 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-03-09 15:58:04 +0100
commit5cb52e556fed8eb0cf74d1052fe413fbb7406b0e (patch)
tree80965e8ad49b5191b200b6bbb1241c4718a0c000 /AudioLogic/AudioLogicLib.h
parenta237499e8c2e2a045ae3eea0b9a4aaac12032e81 (diff)
Syncup Status with Microchip
Diffstat (limited to 'AudioLogic/AudioLogicLib.h')
-rw-r--r--AudioLogic/AudioLogicLib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/AudioLogic/AudioLogicLib.h b/AudioLogic/AudioLogicLib.h
index 8530360..10e431d 100644
--- a/AudioLogic/AudioLogicLib.h
+++ b/AudioLogic/AudioLogicLib.h
@@ -36,6 +36,8 @@ typedef int BOOL;
#include <afb/afb-binding.h>
#include <afb/afb-service-itf.h>
+#include "AlsaHalCtls.h" // Alsa Hardware Abstraction Layer Controls
+
// import from AlsaAfbBinding
extern const struct afb_binding_interface *afbIface;
@@ -48,6 +50,13 @@ typedef struct {
const char *devid;
const char *shortname;
const char *longname;
+ const char *halapi;
+ struct { // volume in % [0-100]
+ int masterPlaybackVolume;
+ int pcmPlaybackVolume;
+ int pcmPlaybackSwitch;
+ int captureVolume;
+ } volumes;
json_object *queryurl;
} AudioLogicCtxT;