aboutsummaryrefslogtreecommitdiffstats
path: root/Shared-Interface/audio-interface.h
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-07-30 21:11:00 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-07-30 21:11:00 +0200
commit94a12b24d1712573607b78cd78f47e998a0323d4 (patch)
treee7407a2aca62fc25bfb95300f94db95664d4aeb0 /Shared-Interface/audio-interface.h
parentda4f9b32ad32593aec2635da47077f0c05da71be (diff)
First Dev version with Volume Ramping
Diffstat (limited to 'Shared-Interface/audio-interface.h')
-rw-r--r--Shared-Interface/audio-interface.h35
1 files changed, 26 insertions, 9 deletions
diff --git a/Shared-Interface/audio-interface.h b/Shared-Interface/audio-interface.h
index 01c71cd..453a9c4 100644
--- a/Shared-Interface/audio-interface.h
+++ b/Shared-Interface/audio-interface.h
@@ -60,19 +60,36 @@ typedef enum {
} halAclEnumT;
typedef enum {
- StartHalCrlTag=0,
-
- // HighLevel Audio Control List,
- Master_Playback_Volume =1,
- Master_Playback_Ramp =2,
- PCM_Playback_Volume =3,
- PCM_Playback_Switch =4,
- Capture_Volume =5,
- Master_OnOff_Switch =6,
+ StartHalCrlTag=0,
+ // volume RAMP
+ Vol_Ramp,
+ Vol_Ramp_Set_Mode,
+ Vol_Ramp_Set_Delay,
+ Vol_Ramp_Set_Down,
+ Vol_Ramp_Set_Up,
+ Vol_Ramp_Set_Slave,
+
+ // HighLevel Audio Control List,
+ Master_Playback_Volume,
+ Master_Playback_Ramp,
+ PCM_Playback_Volume,
+ PCM_Playback_Switch,
+ Capture_Volume,
+ Master_OnOff_Switch,
+
EndHalCrlTag // used to compute number of ctls
} halCtlsEnumT;
+typedef enum {
+ RAMP_VOL_NONE = 0,
+ RAMP_VOL_NORMAL = 1,
+ RAMP_VOL_SMOOTH = 2,
+ RAMP_VOL_EMERGENCY = 3,
+
+ EndHalVolMod
+
+} halRampEnumT;
PUBLIC void pingtest(struct afb_req request);