summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-09-28 18:27:01 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-29 14:56:22 -0500
commitf9d0cd09d4470e35e6046a3e96659f900aff75d2 (patch)
treed8d61a7a40f20a53880d6cbd6d75b78317ca858c /src
parent158f9ac1d5ba5cfa36b22190a3e4e31cf7c09b59 (diff)
downloadofono-f9d0cd09d4470e35e6046a3e96659f900aff75d2.tar.bz2
Refactor: Assume driver will set call volume
Driver should use the ofono_call_volume_set_microphone_volume and ofono_call_volume_set_speaker_volume functions.
Diffstat (limited to 'src')
-rw-r--r--src/call-volume.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/call-volume.c b/src/call-volume.c
index 825da545..f967f01a 100644
--- a/src/call-volume.c
+++ b/src/call-volume.c
@@ -279,9 +279,6 @@ struct ofono_call_volume *ofono_call_volume_create(struct ofono_modem *modem,
if (cv == NULL)
return NULL;
- /* assume volume as half of maxium volume */
- cv->speaker_volume = 50;
- cv->microphone_volume = 50;
cv->atom = __ofono_modem_add_atom(modem,
OFONO_ATOM_TYPES_CALL_VOLUME,
call_volume_remove, cv);