audio: Enable multiple USB Audio support
Bug: 289334178 Test: verified USB Audio on test build Change-Id: I4675165a62f6779b33511c1a3f4e55cdfe7dd9cf Signed-off-by: Carter Hsu <carterhsu@google.com>
This commit is contained in:
parent
2492cb2726
commit
dcf54dff3a
3 changed files with 6 additions and 2 deletions
|
@ -205,7 +205,7 @@
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
||||||
<route type="mix" sink="USB Dock"
|
<route type="mix" sink="USB Dock"
|
||||||
sources="primary output,deep buffer,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
sources="primary output,deep buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
|
|
|
@ -186,7 +186,7 @@
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
||||||
<route type="mix" sink="USB Dock"
|
<route type="mix" sink="USB Dock"
|
||||||
sources="primary output,deep buffer,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
sources="primary output,deep buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
|
|
|
@ -270,6 +270,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
persist.vendor.camera.exif_reveal_make_model=true
|
persist.vendor.camera.exif_reveal_make_model=true
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.audio.multi_usb_mode=true
|
||||||
|
|
||||||
# AudioProxy
|
# AudioProxy
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libaudio_proxy.google \
|
libaudio_proxy.google \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue