summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-09-04 15:41:15 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-09-04 15:41:15 +0300
commite69acd75ad2c18349f93f7b50b966839fbc361b6 (patch)
treec39680fce4cb444d067e3f25f9c39d4d70b49a8f /audio
parent09c1b1ac6c7da499430445eb51d346f907daa00c (diff)
Add some documentation for the AG variables
Diffstat (limited to 'audio')
-rw-r--r--audio/headset.c14
1 files changed, 7 insertions, 7 deletions
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,