Volume controls
Tick Chen
tick at openmoko.com
Sat Nov 22 15:15:10 CET 2008
Hi List,
I created a patch that makes user can control their call volume via a
slidebar when calling.
It's uses AT+CLVL controling the call volume. According to
http://doc.trolltech.com/qtextended4.4/qphoneprofile.html#setVolume
the valid range is 0~5, and the volume degree maping to TI Calypso volume range
0~255 equally.
By current the volume default is 3 of 0~5, and TI calypso default is 177 of
0~255. It will be switched and follow the setting in QPhoneProfile. ie
AT+CLVL=153. I tested and found it's okay for me. The volume is loud
enough for me, and people on the other side of call does not complains at all. :-)
Maybe other device need to switch to a larger value.
Users can control the default volume by using QPhoneProfile, and
PhoneSettings. Or edit /opt/Qtopia/etc/default/Trolltech/PhoneProfile.conf directly.
If there are no other issues, I will commit it tomorrow.
Cheers
Tick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: q_call_volume_slidebar.patch
Type: text/x-diff
Size: 11364 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/devel/attachments/20081122/decd39e3/attachment-0001.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/devel/attachments/20081122/decd39e3/attachment-0001.pgp
More information about the devel
mailing list