mirror of git://git.sysmocom.de/ofono
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.
This commit is contained in:
parent
158f9ac1d5
commit
f9d0cd09d4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue