summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-09-29 10:55:01 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-29 14:56:22 -0500
commit853bd2d6dae828add8fede73719adcb2359f6164 (patch)
treefbedeacbb754ad382801df750cfa5bc982b00fad /include
parent2fca5c7f0838194683d9dd69c7773a4693114876 (diff)
downloadofono-853bd2d6dae828add8fede73719adcb2359f6164.tar.bz2
Add Muted property to CallVolume atom
Diffstat (limited to 'include')
-rw-r--r--include/call-volume.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/call-volume.h b/include/call-volume.h
index d8af0082..b13d46fc 100644
--- a/include/call-volume.h
+++ b/include/call-volume.h
@@ -45,12 +45,15 @@ struct ofono_call_volume_driver {
void (*microphone_volume)(struct ofono_call_volume *cv,
unsigned char percent,
ofono_call_volume_cb_t cb, void *data);
+ void (*mute)(struct ofono_call_volume *cv, int muted,
+ ofono_call_volume_cb_t cb, void *data);
};
void ofono_call_volume_set_speaker_volume(struct ofono_call_volume *cv,
unsigned char percent);
void ofono_call_volume_set_microphone_volume(struct ofono_call_volume *cv,
unsigned char percent);
+void ofono_call_volume_set_muted(struct ofono_call_volume *cv, int muted);
int ofono_call_volume_driver_register(const struct ofono_call_volume_driver *d);
void ofono_call_volume_driver_unregister(