diff options
author | Zhenhua Zhang <zhenhua.zhang@intel.com> | 2009-11-09 01:15:59 +0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-11-11 15:53:55 -0600 |
commit | 28c6bbb5583005701190d063a162ef467dab69dc (patch) | |
tree | 2c819d867e04f76f7dc1e1b0b78ff06f92113bfb /plugins | |
parent | 0825070655c4d260cf7564737d9568cf2247a026 (diff) | |
download | ofono-28c6bbb5583005701190d063a162ef467dab69dc.tar.bz2 |
Add call volume support for hfpmodem
The call volume driver listens the speaker volume and microphone
gain from the AG. It also allow to synchronze the speaker and
microphone volume changes with the AG through AT+VGS and AT+VGM.
Volume level synchronization from HFP spec 1.5 Section 4.28.2
is performed on startup.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/hfp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/hfp.c b/plugins/hfp.c index d696e47c..fc29ad94 100644 --- a/plugins/hfp.c +++ b/plugins/hfp.c @@ -48,6 +48,7 @@ #include <ofono/ssn.h> #include <ofono/ussd.h> #include <ofono/voicecall.h> +#include <ofono/call-volume.h> #include <drivers/hfpmodem/hfpmodem.h> @@ -313,6 +314,7 @@ static void hfp_pre_sim(struct ofono_modem *modem) ofono_voicecall_create(modem, 0, "hfpmodem", data); ofono_netreg_create(modem, 0, "hfpmodem", data); + ofono_call_volume_create(modem, 0, "hfpmodem", data); } static void hfp_post_sim(struct ofono_modem *modem) |