summaryrefslogtreecommitdiffstats
path: root/Shared-Interface
diff options
context:
space:
mode:
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,