From 593ed6dc72274f86046aae3dc6b264c568241917 Mon Sep 17 00:00:00 2001 From: fulup Date: Tue, 25 Jul 2017 11:37:10 +0200 Subject: Initial version of HAL with Set/Get operation --- Shared-Interface/audio-interface.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'Shared-Interface/audio-interface.h') diff --git a/Shared-Interface/audio-interface.h b/Shared-Interface/audio-interface.h index 09cb6c2..01c71cd 100644 --- a/Shared-Interface/audio-interface.h +++ b/Shared-Interface/audio-interface.h @@ -62,19 +62,18 @@ typedef enum { typedef enum { StartHalCrlTag=0, - // HighLevel Audio Control List - Master_Playback_Volume, - Master_OnOff_Switch, - Master_Playback_Ramp, - PCM_Playback_Volume, - PCM_Playback_Switch, - Capture_Volume, + // 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, EndHalCrlTag // used to compute number of ctls } halCtlsEnumT; -PUBLIC int cbCheckResponse(struct afb_req request, int iserror, struct json_object *result) ; PUBLIC void pingtest(struct afb_req request); #endif /* AUDIO_INTERF_H */ -- cgit 1.2.3-korg