universal7885: overlay: Enable samplerate support for bluetooth headsets

* Fixes distorted audio in bluetooth calls

Change-Id: I19363dd11b2e218574fed75588f312466ec0ca48
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
This commit is contained in:
SamarV-121 2022-01-02 19:20:42 +05:30 committed by roynatech2544
commit 432d542a71
No known key found for this signature in database
GPG key ID: 9675C32163D88D30

View file

@ -1,30 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009-2012 Broadcom Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Configuring priorities of A2DP source codecs. Larger value means
higher priority. Value -1 means the codec is disabled.
Value 0 is reserved and should not be used here. Enabled codecs
should have priorities in the interval [1, 999999], and each priority
value should be unique. -->
<integer name="a2dp_source_codec_priority_sbc">5001</integer>
<integer name="a2dp_source_codec_priority_aac">4001</integer>
<integer name="a2dp_source_codec_priority_aptx">2001</integer>
<integer name="a2dp_source_codec_priority_aptx_hd">1001</integer>
<integer name="a2dp_source_codec_priority_ldac">3001</integer>
<bool name="profile_supported_sap">true</bool>
<!-- If true, we will require location to be enabled on the device to
fire Bluetooth LE scan result callbacks in addition to having one
of the location permissions. -->
<bool name="strict_location_check">false</bool>
<!-- If true, SCO sample rate will be reported via g_sco_samplerate audio parameter -->
<bool name="sco_report_samplerate">true</bool>
</resources>