From e69acd75ad2c18349f93f7b50b966839fbc361b6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 4 Sep 2008 15:41:15 +0300 Subject: Add some documentation for the AG variables --- audio/headset.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'audio') diff --git a/audio/headset.c b/audio/headset.c index b9e7ccbd..c4eefe23 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -67,13 +67,13 @@ #define HEADSET_GAIN_SPEAKER 'S' #define HEADSET_GAIN_MICROPHONE 'M' -static struct ag_state { - gboolean telephony_ready; - uint32_t features; - struct indicator *indicators; - int er_mode; - int er_ind; - int rh; +static struct { + gboolean telephony_ready; /* Telephony plugin initialized */ + uint32_t features; /* HFP AG features */ + struct indicator *indicators; /* Available HFP indicators */ + int er_mode; /* Event reporting mode */ + int er_ind; /* Event reporting for indicators */ + int rh; /* Response and Hold state */ } ag = { .telephony_ready = FALSE, .features = 0, -- cgit