diff options
-rw-r--r-- | audio/legacy/audio_policy.conf | 8 | ||||
-rw-r--r-- | bluetooth/bdroid_buildcfg.h | 6 | ||||
-rw-r--r-- | overlay/packages/apps/Bluetooth/res/values/config.xml | 20 |
3 files changed, 34 insertions, 0 deletions
diff --git a/audio/legacy/audio_policy.conf b/audio/legacy/audio_policy.conf index a806163..a7f0f30 100644 --- a/audio/legacy/audio_policy.conf +++ b/audio/legacy/audio_policy.conf | |||
@@ -65,6 +65,14 @@ audio_hw_modules { | |||
65 | devices AUDIO_DEVICE_OUT_ALL_A2DP | 65 | devices AUDIO_DEVICE_OUT_ALL_A2DP |
66 | } | 66 | } |
67 | } | 67 | } |
68 | inputs { | ||
69 | a2dp { | ||
70 | sampling_rates 44100|48000 | ||
71 | channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO | ||
72 | formats AUDIO_FORMAT_PCM_16_BIT | ||
73 | devices AUDIO_DEVICE_IN_BLUETOOTH_A2DP | ||
74 | } | ||
75 | } | ||
68 | } | 76 | } |
69 | r_submix { | 77 | r_submix { |
70 | outputs { | 78 | outputs { |
diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h index 38aa2b0..5cc4ade 100644 --- a/bluetooth/bdroid_buildcfg.h +++ b/bluetooth/bdroid_buildcfg.h | |||
@@ -19,4 +19,10 @@ | |||
19 | 19 | ||
20 | #define BTM_DEF_LOCAL_NAME "Jacinto6" | 20 | #define BTM_DEF_LOCAL_NAME "Jacinto6" |
21 | 21 | ||
22 | /* Handsfree device */ | ||
23 | #define BTA_DM_COD {0x20, 0x04, 0x08} | ||
24 | |||
25 | /* Enable A2DP sink */ | ||
26 | #define BTA_AV_SINK_INCLUDED TRUE | ||
27 | |||
22 | #endif | 28 | #endif |
diff --git a/overlay/packages/apps/Bluetooth/res/values/config.xml b/overlay/packages/apps/Bluetooth/res/values/config.xml new file mode 100644 index 0000000..35b7e49 --- /dev/null +++ b/overlay/packages/apps/Bluetooth/res/values/config.xml | |||
@@ -0,0 +1,20 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (C) 2009-2012 Broadcom Corporation | ||
3 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
4 | you may not use this file except in compliance with the License. | ||
5 | You may obtain a copy of the License at | ||
6 | |||
7 | http://www.apache.org/licenses/LICENSE-2.0 | ||
8 | |||
9 | Unless required by applicable law or agreed to in writing, software | ||
10 | distributed under the License is distributed on an "AS IS" BASIS, | ||
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
12 | See the License for the specific language governing permissions and | ||
13 | limitations under the License. | ||
14 | --> | ||
15 | |||
16 | <resources> | ||
17 | <bool name="profile_supported_a2dp_sink">true</bool> | ||
18 | <bool name="profile_supported_avrcp_controller">true</bool> | ||
19 | <bool name="profile_supported_hfpclient">true</bool> | ||
20 | </resources> | ||