Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fm-commonsys
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
vendor
qcom-opensource
fm-commonsys
Commits
cd443193
Commit
cd443193
authored
6 years ago
by
himta ram
Browse files
Options
Downloads
Patches
Plain Diff
FM: enable soft mute on cherokee
Change-Id: I97e4c3ae6db28e160800e69f8fa8bf8416b5ac44
parent
c46068fb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
qcom/fmradio/FmRxControls.java
+7
-0
7 additions, 0 deletions
qcom/fmradio/FmRxControls.java
with
7 additions
and
0 deletions
qcom/fmradio/FmRxControls.java
+
7
−
0
View file @
cd443193
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment