aboutsummaryrefslogtreecommitdiffstats
path: root/Shared-Interface
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-06-27 14:24:38 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-06-27 14:25:53 +0200
commit6c0d556e956eaf1f4eea734d7313d258dd75b878 (patch)
tree3308e313b6520ea4469ecce5fdc1dbd6850e1882 /Shared-Interface
parent0fe1ff36dcc75149481d8071a1806c5408f70acc (diff)
Work in Progress
Diffstat (limited to 'Shared-Interface')
-rw-r--r--Shared-Interface/CMakeLists.txt3
-rw-r--r--Shared-Interface/audio-interface.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/Shared-Interface/CMakeLists.txt b/Shared-Interface/CMakeLists.txt
index 87018c9..9a5c74d 100644
--- a/Shared-Interface/CMakeLists.txt
+++ b/Shared-Interface/CMakeLists.txt
@@ -35,5 +35,4 @@ PROJECT_TARGET_ADD(audio-interface)
# Define target includes
TARGET_INCLUDE_DIRECTORIES(audio-interface
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
- )
-
+) \ No newline at end of file
diff --git a/Shared-Interface/audio-interface.h b/Shared-Interface/audio-interface.h
index 24fcfaa..ee681aa 100644
--- a/Shared-Interface/audio-interface.h
+++ b/Shared-Interface/audio-interface.h
@@ -23,7 +23,7 @@
#define AUDIOCOMMON_H
#include <json-c/json.h>
-#define AFB_BINDING_VERSION 1
+#define AFB_BINDING_VERSION 2
#include <afb/afb-binding.h>
#ifndef PUBLIC
@@ -53,6 +53,7 @@ typedef enum {
// HighLevel Audio Control List
Master_Playback_Volume,
+ Master_OnOff_Switch,
PCM_Playback_Volume,
PCM_Playback_Switch,
Capture_Volume,