--- a/mmsharing/mmshengine/src/musengtelephoneutils.cpp Mon Jun 21 15:36:50 2010 +0300
+++ b/mmsharing/mmshengine/src/musengtelephoneutils.cpp Thu Jul 15 18:35:08 2010 +0300
@@ -93,7 +93,7 @@
//
// -----------------------------------------------------------------------------
//
-TBool CMusEngTelephoneUtils::AudioRoutingCanBeChanged()
+TBool CMusEngTelephoneUtils::AudioRoutingCanBeChanged() const
{
MUS_LOG( "mus: [ENGINE] -> CMusEngTelephoneUtils::AudioRoutingCanBeChanged" )
@@ -113,6 +113,24 @@
//
// -----------------------------------------------------------------------------
//
+TBool CMusEngTelephoneUtils::AudioOutputIsBT() const
+ {
+ MUS_LOG( "mus: [ENGINE] -> CMusEngTelephoneUtils::AudioOutputIsBT" )
+
+ TBool retValue = ( iTelephonyAudioRouting->Output() ==
+ CTelephonyAudioRouting::EBTAudioAccessory );
+
+ MUS_LOG1( "mus: [ENGINE] <- CMusEngTelephoneUtils::AudioOutputIsBT: %d",
+ retValue )
+
+ return retValue;
+ }
+
+
+// -----------------------------------------------------------------------------
+//
+// -----------------------------------------------------------------------------
+//
void CMusEngTelephoneUtils::LoudspeakerL( TBool aEnable, TBool aShowDialog )
{
MUS_LOG1( "mus: [ENGINE] -> CMusEngTelephoneUtils::LoudspeakerL(%d)",