aidl: tangorpro: add audio table for aidl hal am: 0d465cac83
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/23846553 Change-Id: Ia836a80b9dade5d8a518cde18d15f888cbb7af77 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
05db012c05
4 changed files with 1390 additions and 0 deletions
|
@ -0,0 +1,76 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<!-- Copyright (c) 2023, The Linux Foundation. All rights reserved. -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- Redistribution and use in source and binary forms, with or without -->
|
||||||
|
<!-- modification, are permitted provided that the following conditions are -->
|
||||||
|
<!-- met: -->
|
||||||
|
<!-- * Redistributions of source code must retain the above copyright -->
|
||||||
|
<!-- notice, this list of conditions and the following disclaimer. -->
|
||||||
|
<!-- * Redistributions in binary form must reproduce the above -->
|
||||||
|
<!-- copyright notice, this list of conditions and the following -->
|
||||||
|
<!-- disclaimer in the documentation and/or other materials provided -->
|
||||||
|
<!-- with the distribution. -->
|
||||||
|
<!-- * Neither the name of The Linux Foundation nor the names of its -->
|
||||||
|
<!-- contributors may be used to endorse or promote products derived -->
|
||||||
|
<!-- from this software without specific prior written permission. -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
|
||||||
|
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
|
||||||
|
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
|
||||||
|
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
|
||||||
|
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
|
||||||
|
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
|
||||||
|
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
|
||||||
|
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
|
||||||
|
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
|
||||||
|
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
|
||||||
|
<audio_platform_configuration>
|
||||||
|
<product_lists>
|
||||||
|
<product name="Blackbird">
|
||||||
|
<id value="18d1:5033" />
|
||||||
|
</product>
|
||||||
|
<product name="Condor">
|
||||||
|
<id value="18d1:5034" />
|
||||||
|
</product>
|
||||||
|
<product name="Condor_Sprint">
|
||||||
|
<id value="18d1:5038" />
|
||||||
|
</product>
|
||||||
|
<product name="Condor_Sprint2">
|
||||||
|
<id value="18d1:5036" />
|
||||||
|
</product>
|
||||||
|
</product_lists>
|
||||||
|
|
||||||
|
<features>
|
||||||
|
<feature name="ThermalThrottle=Type:SKIN,Name:VIRTUAL-SKIN" />
|
||||||
|
<feature
|
||||||
|
name="BatteryThrottle=Type:BCL_VOLTAGE,Name:BCL_AUDIO_BAACL,Strategy:MediaSpeakerAndScreenOn" />
|
||||||
|
<feature
|
||||||
|
name="PlaybackThermalThrottle=PollWaitMs:20000,ThermistorName:VIRTUAL-SKIN,ThermistorType:SKIN,ThrottlingSeverity:MODERATE" />
|
||||||
|
</features>
|
||||||
|
|
||||||
|
<!-- The voip_db_mapping: format is "device="x" value="f1,f2..." -->
|
||||||
|
<!-- device should be "handset","speaker","usb","bt","bt_hearing_aid" or "digital_dock" -->
|
||||||
|
<voip_db_mapping>
|
||||||
|
<voip_path device="usb" value="0.01,0.02,0.04,0.1,0.21,0.47,1.0" />
|
||||||
|
</voip_db_mapping>
|
||||||
|
|
||||||
|
<!-- The device_builder: format is "type="x" codec_name="y" argu="z". name and argu are optional. -->
|
||||||
|
<device_builder>
|
||||||
|
<device type="bt" />
|
||||||
|
<device type="usb" argu="MaxSamplingRate=96000,UnsupportedFormat=S24_LE" />
|
||||||
|
<device type="speaker" codec_name="cs35l41" argu="SpeakerNum=4,Rotation,AcousticShockProtection" />
|
||||||
|
</device_builder>
|
||||||
|
|
||||||
|
<!-- The spatial_capture_conditions: format is "use_case="x" audio_source="y" -->
|
||||||
|
<!-- use_case defines in aidl/audio/usecase/use_case.h, audio_source is definied in aidl interfaces. -->
|
||||||
|
<spatial_capture_conditions>
|
||||||
|
<conditions use_case="primary-capture" audio_source="MIC,CAMCORDER,VOICE_RECOGNITION" />
|
||||||
|
</spatial_capture_conditions>
|
||||||
|
|
||||||
|
<!-- The tuner_builder: format is "type="x" codec_name="y" argu="z". argu is optional. -->
|
||||||
|
<tuner_builder>
|
||||||
|
<tuner type="playback" name="waves" argu="Sink=SPK ThermistorsName=VIRTUAL-SKIN" />
|
||||||
|
<tuner type="telephony" name="fortemedia" argu="VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000 BOOST_USB_SWB_CLK=y CCA=y" />
|
||||||
|
<tuner type="capture" name="gs_capture" />
|
||||||
|
</tuner_builder>
|
||||||
|
</audio_platform_configuration>
|
227
audio/tangorpro/aidl_config/audio_policy_volumes.xml
Normal file
227
audio/tangorpro/aidl_config/audio_policy_volumes.xml
Normal file
|
@ -0,0 +1,227 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Copyright (C) 2023 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
<!-- Volume section defines a volume curve for a given use case and device category.
|
||||||
|
It contains a list of points of this curve expressing the attenuation in Millibels for a given
|
||||||
|
volume index from 0 to 100.
|
||||||
|
<volume stream=”AUDIO_STREAM_MUSIC” deviceCategory=””>
|
||||||
|
<point>0,-9600</point>
|
||||||
|
<point>100,0</point>
|
||||||
|
</volume>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<volumes>
|
||||||
|
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||||
|
<point>0,-4200</point>
|
||||||
|
<point>33,-2800</point>
|
||||||
|
<point>66,-1400</point>
|
||||||
|
<point>100,0</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||||
|
<point>0,-2400</point>
|
||||||
|
<point>33,-1600</point>
|
||||||
|
<point>66,-800</point>
|
||||||
|
<point>100,0</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||||
|
<point>0,-2400</point>
|
||||||
|
<point>33,-1600</point>
|
||||||
|
<point>66,-800</point>
|
||||||
|
<point>100,0</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||||
|
<point>1,-3000</point>
|
||||||
|
<point>33,-2600</point>
|
||||||
|
<point>66,-2200</point>
|
||||||
|
<point>100,-1800</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||||
|
<point>1,-4700</point>
|
||||||
|
<point>33,-3500</point>
|
||||||
|
<point>66,-2350</point>
|
||||||
|
<point>100,-1250</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||||
|
<point>1,-3350</point>
|
||||||
|
<point>33,-2100</point>
|
||||||
|
<point>66,-1000</point>
|
||||||
|
<point>100,0</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||||
|
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||||
|
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||||
|
<point>0,-4800</point>
|
||||||
|
<point>33,-2050</point>
|
||||||
|
<point>66,-800</point>
|
||||||
|
<point>100,0</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||||
|
<point>1,-3800</point>
|
||||||
|
<point>33,-2600</point>
|
||||||
|
<point>66,-1400</point>
|
||||||
|
<point>100,0</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||||
|
<point>0,-4200</point>
|
||||||
|
<point>33,-2800</point>
|
||||||
|
<point>66,-1400</point>
|
||||||
|
<point>100,0</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||||
|
<point>0,-2400</point>
|
||||||
|
<point>33,-1600</point>
|
||||||
|
<point>66,-800</point>
|
||||||
|
<point>100,0</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||||
|
<point>0,-4200</point>
|
||||||
|
<point>33,-2800</point>
|
||||||
|
<point>66,-1400</point>
|
||||||
|
<point>100,0</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||||
|
<point>1,-3000</point>
|
||||||
|
<point>33,-2600</point>
|
||||||
|
<point>66,-2200</point>
|
||||||
|
<point>100,-1800</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||||
|
<point>1,-4700</point>
|
||||||
|
<point>33,-3500</point>
|
||||||
|
<point>66,-2350</point>
|
||||||
|
<point>100,-1250</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||||
|
<point>1,-3000</point>
|
||||||
|
<point>33,-2600</point>
|
||||||
|
<point>66,-2200</point>
|
||||||
|
<point>100,-1800</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||||
|
<point>1,-5500</point>
|
||||||
|
<point>33,-3650</point>
|
||||||
|
<point>66,-2700</point>
|
||||||
|
<point>100,-1800</point>
|
||||||
|
</volume>
|
||||||
|
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||||
|
ref="SILENT_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||||
|
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="SILENT_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="SILENT_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="SILENT_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||||
|
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||||
|
ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||||
|
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||||
|
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||||
|
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||||
|
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||||
|
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||||
|
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||||
|
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||||
|
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||||
|
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||||
|
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||||
|
</volumes>
|
||||||
|
|
1077
audio/tangorpro/aidl_config/mixer_paths_aidl.xml
Normal file
1077
audio/tangorpro/aidl_config/mixer_paths_aidl.xml
Normal file
File diff suppressed because it is too large
Load diff
|
@ -16,6 +16,15 @@
|
||||||
|
|
||||||
AUDIO_TABLE_FOLDER := tangorpro
|
AUDIO_TABLE_FOLDER := tangorpro
|
||||||
|
|
||||||
|
# Enable this to build AIDL
|
||||||
|
BUILD_AUDIO_AIDL_VERSION := false
|
||||||
|
|
||||||
|
ifeq ($(BUILD_AUDIO_AIDL_VERSION),true)
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_platform_configuration_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration_aidl.xml \
|
||||||
|
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||||
|
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/mixer_paths_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_aidl.xml
|
||||||
|
else
|
||||||
# Platform Configuration for AudioHAL / SoundTriggerHAL
|
# Platform Configuration for AudioHAL / SoundTriggerHAL
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_bluetooth_legacy_hal.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml \
|
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_bluetooth_legacy_hal.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml \
|
||||||
|
@ -34,6 +43,7 @@ PRODUCT_COPY_FILES += \
|
||||||
# Mixer Path Configuration for AudioHAL
|
# Mixer Path Configuration for AudioHAL
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/config/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
|
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/config/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
|
||||||
|
endif
|
||||||
|
|
||||||
# Speaker firmware files
|
# Speaker firmware files
|
||||||
SPK_FIRMWARE_PATH := $(AUDIO_TABLE_FOLDER)/cs35l41/fw
|
SPK_FIRMWARE_PATH := $(AUDIO_TABLE_FOLDER)/cs35l41/fw
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue