Snap for 8445064 from 4c4c40aee6
to tm-release
Change-Id: I74c9f1fe9459e7a6e6d2aba023f0c8a9f21e2e13
This commit is contained in:
commit
eb5fcdd773
20 changed files with 42 additions and 234 deletions
|
@ -25,7 +25,7 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
|
frameworks/av/services/audiopolicy/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
|
||||||
|
|
||||||
# AudioEffectHAL Configuration
|
# AudioEffectHAL Configuration
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
<library name="proxy" path="libeffectproxy.so"/>
|
<library name="proxy" path="libeffectproxy.so"/>
|
||||||
<library name="offload_effect" path="liboffloadeffect.so"/>
|
<library name="offload_effect" path="liboffloadeffect.so"/>
|
||||||
<library name="haptic_generator" path="libhapticgenerator.so"/>
|
<library name="haptic_generator" path="libhapticgenerator.so"/>
|
||||||
<library name="spatializer" path="libspatialaudio.so"/>
|
|
||||||
</libraries>
|
</libraries>
|
||||||
<effects>
|
<effects>
|
||||||
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
|
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
|
||||||
|
@ -52,7 +51,6 @@
|
||||||
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
|
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
|
||||||
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
|
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
|
||||||
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
|
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
|
||||||
<effect name="spatializer" library="spatializer" uuid="cc4677de-ff72-11eb-9a03-0242ac130003"/>
|
|
||||||
</effects>
|
</effects>
|
||||||
<postprocess>
|
<postprocess>
|
||||||
</postprocess>
|
</postprocess>
|
||||||
|
|
|
@ -182,7 +182,6 @@
|
||||||
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
|
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
|
||||||
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
||||||
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
|
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
|
||||||
<usecase id="UC_IMMERSIVE_PLAYBACK" dev1="3"/>
|
|
||||||
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
|
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
|
||||||
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
|
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
|
||||||
<!-- dev1: audio dev2: haptic -->
|
<!-- dev1: audio dev2: haptic -->
|
||||||
|
|
|
@ -63,10 +63,6 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="incall playback" role="source"
|
<mixPort name="incall playback" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
@ -199,25 +195,25 @@
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Speaker Safe"
|
<route type="mix" sink="Speaker Safe"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Speaker"
|
<route type="mix" sink="BT A2DP Speaker"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT BLE Headset"
|
<route type="mix" sink="BT BLE Headset"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT BLE Speaker"
|
<route type="mix" sink="BT BLE Speaker"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
|
|
|
@ -63,10 +63,6 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="incall playback" role="source"
|
<mixPort name="incall playback" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
@ -174,15 +170,15 @@
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Speaker Safe"
|
<route type="mix" sink="Speaker Safe"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
|
|
|
@ -63,10 +63,6 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="incall playback" role="source"
|
<mixPort name="incall playback" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
@ -189,21 +185,21 @@
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Speaker Safe"
|
<route type="mix" sink="Speaker Safe"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Speaker"
|
<route type="mix" sink="BT A2DP Speaker"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
|
|
|
@ -1,71 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!-- Bluetooth Audio HAL Audio Policy Configuration file -->
|
|
||||||
<module name="bluetooth" halVersion="2.0">
|
|
||||||
<mixPorts>
|
|
||||||
<!-- A2DP Audio Ports -->
|
|
||||||
<mixPort name="a2dp output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER"/>
|
|
||||||
<!-- Hearing AIDs Audio Ports -->
|
|
||||||
<mixPort name="hearing aid output" role="source">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="24000 16000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<!-- Le Audio Audio Ports -->
|
|
||||||
<mixPort name="le audio output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="44100 48000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="le audio input" role="sink">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
|
|
||||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
|
||||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
</mixPorts>
|
|
||||||
<devicePorts>
|
|
||||||
<!-- A2DP Audio Ports -->
|
|
||||||
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="44100 48000 88200 96000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</devicePort>
|
|
||||||
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="44100 48000 88200 96000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</devicePort>
|
|
||||||
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="44100 48000 88200 96000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</devicePort>
|
|
||||||
<!-- Hearing AIDs Audio Ports -->
|
|
||||||
<devicePort tagName="BT Hearing Aid Out" type="AUDIO_DEVICE_OUT_HEARING_AID" role="sink"/>
|
|
||||||
<!-- BLE Audio Ports -->
|
|
||||||
<devicePort tagName="BLE Headset Out" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"/>
|
|
||||||
<devicePort tagName="BLE Speaker Out" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"/>
|
|
||||||
<devicePort tagName="BLE Headset In" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source"/>
|
|
||||||
</devicePorts>
|
|
||||||
<routes>
|
|
||||||
<route type="mix" sink="BT A2DP Out"
|
|
||||||
sources="a2dp output"/>
|
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
|
||||||
sources="a2dp output"/>
|
|
||||||
<route type="mix" sink="BT A2DP Speaker"
|
|
||||||
sources="a2dp output"/>
|
|
||||||
<route type="mix" sink="BT Hearing Aid Out"
|
|
||||||
sources="hearing aid output"/>
|
|
||||||
<route type="mix" sink="BLE Headset Out"
|
|
||||||
sources="le audio output"/>
|
|
||||||
<route type="mix" sink="le audio input"
|
|
||||||
sources="BLE Headset In"/>
|
|
||||||
<route type="mix" sink="BLE Speaker Out"
|
|
||||||
sources="le audio output"/>
|
|
||||||
</routes>
|
|
||||||
</module>
|
|
|
@ -429,18 +429,6 @@
|
||||||
<path name="compress-offload-playback" />
|
<path name="compress-offload-playback" />
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="immersive-playbackP">
|
|
||||||
<ctl name="TDM_0_RX Mixer EP4" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="immersive-playbackP bt">
|
|
||||||
<ctl name="BT_RX Mixer EP4" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="immersive-playbackP usb-headphone">
|
|
||||||
<ctl name="USB_RX Mixer EP4" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="voip-playbackP">
|
<path name="voip-playbackP">
|
||||||
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
|
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
|
@ -25,7 +25,7 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
|
frameworks/av/services/audiopolicy/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
|
||||||
|
|
||||||
# AudioEffectHAL Configuration
|
# AudioEffectHAL Configuration
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
<library name="proxy" path="libeffectproxy.so"/>
|
<library name="proxy" path="libeffectproxy.so"/>
|
||||||
<library name="offload_effect" path="liboffloadeffect.so"/>
|
<library name="offload_effect" path="liboffloadeffect.so"/>
|
||||||
<library name="haptic_generator" path="libhapticgenerator.so"/>
|
<library name="haptic_generator" path="libhapticgenerator.so"/>
|
||||||
<library name="spatializer" path="libspatialaudio.so"/>
|
|
||||||
</libraries>
|
</libraries>
|
||||||
<effects>
|
<effects>
|
||||||
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
|
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
|
||||||
|
@ -52,7 +51,6 @@
|
||||||
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
|
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
|
||||||
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
|
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
|
||||||
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
|
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
|
||||||
<effect name="spatializer" library="spatializer" uuid="cc4677de-ff72-11eb-9a03-0242ac130003"/>
|
|
||||||
</effects>
|
</effects>
|
||||||
<postprocess>
|
<postprocess>
|
||||||
</postprocess>
|
</postprocess>
|
||||||
|
|
|
@ -182,7 +182,6 @@
|
||||||
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
|
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
|
||||||
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
||||||
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
|
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
|
||||||
<usecase id="UC_IMMERSIVE_PLAYBACK" dev1="3"/>
|
|
||||||
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
|
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
|
||||||
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
|
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
|
||||||
<!-- dev1: audio dev2: haptic -->
|
<!-- dev1: audio dev2: haptic -->
|
||||||
|
|
|
@ -63,10 +63,6 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="incall playback" role="source"
|
<mixPort name="incall playback" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
@ -199,25 +195,25 @@
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Speaker Safe"
|
<route type="mix" sink="Speaker Safe"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Speaker"
|
<route type="mix" sink="BT A2DP Speaker"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT BLE Headset"
|
<route type="mix" sink="BT BLE Headset"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT BLE Speaker"
|
<route type="mix" sink="BT BLE Speaker"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
|
|
|
@ -63,10 +63,6 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="incall playback" role="source"
|
<mixPort name="incall playback" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
@ -174,15 +170,15 @@
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Speaker Safe"
|
<route type="mix" sink="Speaker Safe"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
|
|
|
@ -63,10 +63,6 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="incall playback" role="source"
|
<mixPort name="incall playback" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
@ -189,21 +185,21 @@
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Speaker Safe"
|
<route type="mix" sink="Speaker Safe"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Speaker"
|
<route type="mix" sink="BT A2DP Speaker"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
|
|
|
@ -1,71 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!-- Bluetooth Audio HAL Audio Policy Configuration file -->
|
|
||||||
<module name="bluetooth" halVersion="2.0">
|
|
||||||
<mixPorts>
|
|
||||||
<!-- A2DP Audio Ports -->
|
|
||||||
<mixPort name="a2dp output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER"/>
|
|
||||||
<!-- Hearing AIDs Audio Ports -->
|
|
||||||
<mixPort name="hearing aid output" role="source">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="24000 16000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<!-- Le Audio Audio Ports -->
|
|
||||||
<mixPort name="le audio output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="44100 48000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="le audio input" role="sink">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
|
|
||||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
|
||||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
</mixPorts>
|
|
||||||
<devicePorts>
|
|
||||||
<!-- A2DP Audio Ports -->
|
|
||||||
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="44100 48000 88200 96000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</devicePort>
|
|
||||||
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="44100 48000 88200 96000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</devicePort>
|
|
||||||
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="44100 48000 88200 96000"
|
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</devicePort>
|
|
||||||
<!-- Hearing AIDs Audio Ports -->
|
|
||||||
<devicePort tagName="BT Hearing Aid Out" type="AUDIO_DEVICE_OUT_HEARING_AID" role="sink"/>
|
|
||||||
<!-- BLE Audio Ports -->
|
|
||||||
<devicePort tagName="BLE Headset Out" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"/>
|
|
||||||
<devicePort tagName="BLE Speaker Out" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"/>
|
|
||||||
<devicePort tagName="BLE Headset In" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source"/>
|
|
||||||
</devicePorts>
|
|
||||||
<routes>
|
|
||||||
<route type="mix" sink="BT A2DP Out"
|
|
||||||
sources="a2dp output"/>
|
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
|
||||||
sources="a2dp output"/>
|
|
||||||
<route type="mix" sink="BT A2DP Speaker"
|
|
||||||
sources="a2dp output"/>
|
|
||||||
<route type="mix" sink="BT Hearing Aid Out"
|
|
||||||
sources="hearing aid output"/>
|
|
||||||
<route type="mix" sink="BLE Headset Out"
|
|
||||||
sources="le audio output"/>
|
|
||||||
<route type="mix" sink="le audio input"
|
|
||||||
sources="BLE Headset In"/>
|
|
||||||
<route type="mix" sink="BLE Speaker Out"
|
|
||||||
sources="le audio output"/>
|
|
||||||
</routes>
|
|
||||||
</module>
|
|
|
@ -429,18 +429,6 @@
|
||||||
<path name="compress-offload-playback" />
|
<path name="compress-offload-playback" />
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="immersive-playbackP">
|
|
||||||
<ctl name="TDM_0_RX Mixer EP4" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="immersive-playbackP bt">
|
|
||||||
<ctl name="BT_RX Mixer EP4" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="immersive-playbackP usb-headphone">
|
|
||||||
<ctl name="USB_RX Mixer EP4" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="voip-playbackP">
|
<path name="voip-playbackP">
|
||||||
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
|
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
|
@ -21,6 +21,8 @@ else
|
||||||
TARGET_SCREEN_DENSITY := 420
|
TARGET_SCREEN_DENSITY := 420
|
||||||
USES_DEVICE_GOOGLE_RAVIOLE := true
|
USES_DEVICE_GOOGLE_RAVIOLE := true
|
||||||
|
|
||||||
|
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
|
||||||
|
|
||||||
include device/google/gs101/BoardConfig-common.mk
|
include device/google/gs101/BoardConfig-common.mk
|
||||||
include device/google/gs101/wifi/BoardConfig-wifi.mk
|
include device/google/gs101/wifi/BoardConfig-wifi.mk
|
||||||
-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
|
-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||||
-->
|
-->
|
||||||
<dimen name="status_bar_height_height_default">74px</dimen>
|
<dimen name="status_bar_height_height_default">74px</dimen>
|
||||||
<dimen name="status_bar_height_portrait">124px</dimen>
|
<dimen name="status_bar_height_portrait">118px</dimen>
|
||||||
<dimen name="status_bar_height_landscape">74px</dimen>
|
<dimen name="status_bar_height_landscape">74px</dimen>
|
||||||
|
|
||||||
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->
|
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->
|
||||||
|
|
|
@ -22,6 +22,8 @@ else
|
||||||
TARGET_SCREEN_DENSITY := 560
|
TARGET_SCREEN_DENSITY := 560
|
||||||
USES_DEVICE_GOOGLE_RAVIOLE := true
|
USES_DEVICE_GOOGLE_RAVIOLE := true
|
||||||
|
|
||||||
|
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
|
||||||
|
|
||||||
include device/google/gs101/BoardConfig-common.mk
|
include device/google/gs101/BoardConfig-common.mk
|
||||||
include device/google/gs101/wifi/BoardConfig-wifi.mk
|
include device/google/gs101/wifi/BoardConfig-wifi.mk
|
||||||
-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
|
-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
|
||||||
|
|
|
@ -199,7 +199,7 @@
|
||||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||||
-->
|
-->
|
||||||
<dimen name="status_bar_height_default">28dp</dimen>
|
<dimen name="status_bar_height_default">28dp</dimen>
|
||||||
<dimen name="status_bar_height_portrait">145px</dimen>
|
<dimen name="status_bar_height_portrait">130px</dimen>
|
||||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||||
|
|
||||||
<!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default-->
|
<!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default-->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue