Skip to content

Commit

Permalink
axolotl: Remove A2DP input module in audio policy configuration
Browse files Browse the repository at this point in the history
No Pixel device support A2DP sink functionality.

Bug: 163050296
Test: A2DP related test.
Change-Id: I269220cf29451ea79362fc004fa073713f72fdb2
  • Loading branch information
llololo authored and amartinz committed Jan 9, 2023
1 parent 1de7aa3 commit 05dc660
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 29 deletions.
22 changes: 0 additions & 22 deletions audio/audio_policy_configuration.xml
Expand Up @@ -220,28 +220,6 @@
</routes>
</module>

<!-- A2DP Input Audio HAL -->
<module name="a2dp" halVersion="2.0">
<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 -->
<module name="usb" halVersion="2.0">
<mixPorts>
Expand Down
3 changes: 0 additions & 3 deletions audio/audio_policy_configuration_a2dp_offload_disabled.xml
Expand Up @@ -340,9 +340,6 @@

</module>

<!-- A2DP Input Audio HAL -->
<xi:include href="/vendor/etc/a2dp_in_audio_policy_configuration.xml"/>

<!-- Usb Audio HAL -->
<module name="usb" halVersion="2.0">
<mixPorts>
Expand Down
3 changes: 0 additions & 3 deletions audio/audio_policy_configuration_vendor.xml
Expand Up @@ -361,9 +361,6 @@

</module>

<!-- A2DP Input Audio HAL -->
<xi:include href="/vendor/etc/a2dp_in_audio_policy_configuration.xml"/>

<!-- Usb Audio HAL -->
<module name="usb" halVersion="2.0">
<mixPorts>
Expand Down
1 change: 0 additions & 1 deletion device.mk
Expand Up @@ -89,7 +89,6 @@ PRODUCT_PACKAGES += \
sound_trigger.primary.sdm845 \

PRODUCT_COPY_FILES += \
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/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 \
Expand Down

0 comments on commit 05dc660

Please sign in to comment.