mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-03 04:27:16 +09:00
sm6250-common: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
This commit is contained in:
parent
c9751304db
commit
ff0b9f08be
2
atoll.mk
2
atoll.mk
@ -73,7 +73,7 @@ PRODUCT_COPY_FILES += \
|
|||||||
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/audio/,$(TARGET_COPY_OUT_VENDOR)/etc)
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/audio/,$(TARGET_COPY_OUT_VENDOR)/etc)
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
|
frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
|
||||||
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||||
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
|
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
|
||||||
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
||||||
|
@ -387,27 +387,8 @@
|
|||||||
|
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
<!-- A2DP Audio HAL -->
|
<!-- A2DP Input Audio HAL -->
|
||||||
<module name="a2dp" halVersion="2.0">
|
<xi:include href="/vendor/etc/a2dp_in_audio_policy_configuration.xml"/>
|
||||||
<mixPorts>
|
|
||||||
<mixPort name="a2dp input" role="sink">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="44100,48000" channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
</mixPorts>
|
|
||||||
|
|
||||||
<devicePorts>
|
|
||||||
<devicePort tagName="BT A2DP In" type="AUDIO_DEVICE_IN_BLUETOOTH_A2DP" role="source">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="44100,48000" channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
|
||||||
</devicePort>
|
|
||||||
</devicePorts>
|
|
||||||
|
|
||||||
<routes>
|
|
||||||
<route type="mix" sink="a2dp input"
|
|
||||||
sources="BT A2DP In"/>
|
|
||||||
</routes>
|
|
||||||
</module>
|
|
||||||
|
|
||||||
<!-- Usb Audio HAL -->
|
<!-- Usb Audio HAL -->
|
||||||
<module name="usb" halVersion="2.0">
|
<module name="usb" halVersion="2.0">
|
||||||
@ -432,6 +413,9 @@
|
|||||||
<!-- Remote Submix Audio HAL -->
|
<!-- Remote Submix Audio HAL -->
|
||||||
<xi:include href="/vendor/etc/r_submix_audio_policy_configuration.xml"/>
|
<xi:include href="/vendor/etc/r_submix_audio_policy_configuration.xml"/>
|
||||||
|
|
||||||
|
<!-- Bluetooth Audio HAL -->
|
||||||
|
<xi:include href="/vendor/etc/bluetooth_audio_policy_configuration.xml"/>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
<!-- End of Modules section -->
|
<!-- End of Modules section -->
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user