Skip to content
Snippets Groups Projects
Commit cd443193 authored by himta ram's avatar himta ram
Browse files

FM: enable soft mute on cherokee

Change-Id: I97e4c3ae6db28e160800e69f8fa8bf8416b5ac44
parent c46068fb
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ class FmRxControls
static final int SCAN_BACKWARD = 3;
static final int FM_DIGITAL_PATH = 0;
static final int FM_ANALOG_PATH = 1;
static final int ENABLE_SOFT_MUTE = 1;
private int mSrchMode;
private int mScanTime;
private int mSrchDir;
......@@ -122,6 +123,12 @@ class FmRxControls
Log.d(TAG,"setControlNative faile" + V4L2_CID_PRIVATE_TAVARUA_STATE);
return re;
}
if (FmReceiver.isCherokeeChip()) {
boolean ret = enableSoftMute(fd,ENABLE_SOFT_MUTE);
if(false == ret) {
Log.d(TAG,"enableSoftMute failed");
}
}
setAudioPath(fd, false);
re = FmReceiverJNI.SetCalibrationNative(fd);
if (re != 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment