diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-09-29 14:47:49 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-09-29 14:56:23 -0500 |
commit | 2e09c0002dee0bedb68a7ca3c3363e5f3338dfeb (patch) | |
tree | 48aad1c16f9dce942c3168e2d8b4b2ad6a9dc9f2 | |
parent | 92de0c469381526223da065ecb6b28e0ae807864 (diff) | |
download | ofono-2e09c0002dee0bedb68a7ca3c3363e5f3338dfeb.tar.bz2 |
Add call volume atom to calypso plugin
-rw-r--r-- | plugins/calypso.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/calypso.c b/plugins/calypso.c index 095414fa..150801f9 100644 --- a/plugins/calypso.c +++ b/plugins/calypso.c @@ -42,6 +42,7 @@ #include <ofono/call-forwarding.h> #include <ofono/call-meter.h> #include <ofono/call-settings.h> +#include <ofono/call-volume.h> #include <ofono/devinfo.h> #include <ofono/message-waiting.h> #include <ofono/netreg.h> @@ -157,9 +158,6 @@ static void setup_modem(struct ofono_modem *modem) /* Disable deep sleep */ g_at_chat_send(data->chat, "AT%SLEEP=2", NULL, NULL, NULL, NULL); - - /* Set audio level to maximum */ - g_at_chat_send(data->chat, "AT+CLVL=255", NULL, NULL, NULL, NULL); } static void cfun_set_on_cb(gboolean ok, GAtResult *result, gpointer user_data) @@ -376,6 +374,7 @@ static void calypso_post_sim(struct ofono_modem *modem) ofono_call_meter_create(modem, 0, "atmodem", data->chat); ofono_call_barring_create(modem, 0, "atmodem", data->chat); ofono_ssn_create(modem, 0, "atmodem", data->chat); + ofono_call_volume_create(modem, 0, "atmodem", data->chat); mw = ofono_message_waiting_create(modem); if (mw) |