Volume controls

"Marco Trevisan (Treviño)" mail at 3v1n0.net
Thu Nov 27 17:08:34 CET 2008


I wrote:
> Well, I've tested this implementation but there's something of bugged.
> In fact you use the Qtopia PhoneProfile "Volume" setting as the earphone
> setting, while that value is mainly used by Qtopia for the ringtone volume!
> 
> So if you try to place a call with this code when your phone is in the
> "Vibrate Only" or "Silent" profile, as soon as the call starts, it gets
> muted!
> 
> As a workaround I've actually changed the callscreen.cpp file to use
>  m_volumeView->setVolume(currentProfile.volume());
> only if the currentProfile.volume() is not 0, but I guess that we should
> have a better implementation adding the support to "callvolume" to
> QPhoneProfileManager. The implementation should be really easy, but I
> had not time to write a patch to attach here... :(

Ok, I did it. Patches attached at bug #2140. ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/




More information about the devel mailing list