fm/fmapp2/src/com/caf/fmradio/FMRadioService.java
public boolean mute() {
      boolean bCommandSent=true;
      if(isMuted())
          return bCommandSent;
      if(isCallActive())
         return false;
      AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
      Log.d(LOGTAG, "mute:");
      if (audioManager != null)
      {
         mMuted = true;
         audioManager.setStreamMute(AudioManager.STREAM_MUSIC,true);
      }
      return bCommandSent;
   }
/*
   *  Mute FM Hardware (SoC)
   * @return true if set mute mode api was invoked successfully, false if the api failed.
   */
Mute FM Hardware (SoC)
@return true if set mute mode api was invoked successfully, false if the api failed.
Mute FM Hardware ( SoC ) @return true if set mute mode api was invoked successfully false if the api failed .
public boolean mute() {
      boolean bCommandSent=true;
      if(isMuted())
          return bCommandSent;
      if(isCallActive())
         return false;
      AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
      Log.d(LOGTAG, "mute:");
      if (audioManager != null)
      {
         mMuted = true;
         audioManager.setStreamMute(AudioManager.STREAM_MUSIC,true);
      }
      return bCommandSent;
   }
public boolean mute ( ) { boolean bCommandSent = true ; if ( isMuted ( ) ) return bCommandSent ; if ( isCallActive ( ) ) return false ; AudioManager audioManager = ( AudioManager ) getSystemService ( Context . AUDIO_SERVICE ) ; Log . d ( LOGTAG , "mute:" ) ; if ( audioManager != null ) { mMuted = true ; audioManager . setStreamMute ( AudioManager . STREAM_MUSIC , true ) ; } return bCommandSent ; }
Mute FM Hardware (SoC)
 @return true if set mute mode api was invoked successfully, false if the api failed.
Mute FM Hardware ( SoC ) @return true if set mute mode api was invoked successfully false if the api failed .