audio: add mixer table for calibration tools
Bug: 313341617 Test: local test Change-Id: I55f9f5080c07c47e2913cf5059247fd6f36f225f Signed-off-by: Robert Lee <lerobert@google.com>
This commit is contained in:
parent
f5c1d5645d
commit
3726c65895
3 changed files with 58 additions and 0 deletions
|
@ -66,4 +66,8 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/tegu/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/test_config.ini \
|
device/google/tegu/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/test_config.ini \
|
||||||
device/google/tegu/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps
|
device/google/tegu/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps
|
||||||
|
|
||||||
|
# Mixer Path Configuration for Audio Speaker Calibration Tool pixel_ti_cal
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/google/tegu/audio/$(AUDIO_TABLE_FOLDER)/tas2572/ti_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ti_cal_mixer_paths.xml
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -54,6 +54,7 @@
|
||||||
<ctl name="TAS25XX PLAYBACK_VOLUME_LEFT" value="47"/>
|
<ctl name="TAS25XX PLAYBACK_VOLUME_LEFT" value="47"/>
|
||||||
<ctl name="TAS25XX PLAYBACK_VOLUME_RIGHT" value="47"/>
|
<ctl name="TAS25XX PLAYBACK_VOLUME_RIGHT" value="47"/>
|
||||||
<ctl name="TAS25XX ASI Switch" value="0"/>
|
<ctl name="TAS25XX ASI Switch" value="0"/>
|
||||||
|
<ctl name="TAS25XX CODEC PROFILE" value="default"/>
|
||||||
|
|
||||||
<!-- default EP volume -->
|
<!-- default EP volume -->
|
||||||
<ctl name="PCM Playback Switch" value="1"/>
|
<ctl name="PCM Playback Switch" value="1"/>
|
||||||
|
@ -640,6 +641,13 @@
|
||||||
<path name="speaker-post">
|
<path name="speaker-post">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<path name="speaker-cali">
|
||||||
|
<ctl name="TAS25XX CODEC PROFILE" value="default"/>
|
||||||
|
<ctl name="TAS25XX ASI Switch" value="1"/>
|
||||||
|
<ctl name="TAS25XX PLAYBACK_VOLUME_LEFT" value="55"/>
|
||||||
|
<ctl name="TAS25XX PLAYBACK_VOLUME_RIGHT" value="55"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
<path name="voice-speaker">
|
<path name="voice-speaker">
|
||||||
<ctl name="TAS25XX CODEC PROFILE" value="music_17dB_stereo"/>
|
<ctl name="TAS25XX CODEC PROFILE" value="music_17dB_stereo"/>
|
||||||
<ctl name="TAS25XX ASI Switch" value="1"/>
|
<ctl name="TAS25XX ASI Switch" value="1"/>
|
||||||
|
|
46
audio/tegu/tas2572/ti_cal_mixer_paths.xml
Normal file
46
audio/tegu/tas2572/ti_cal_mixer_paths.xml
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<!-- Copyright (c) 2019, 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. -->
|
||||||
|
<mixer>
|
||||||
|
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
|
||||||
|
<ctl name="TAS25XX ASI Switch" value="0"/>
|
||||||
|
<ctl name="TAS25XX PLAYBACK_VOLUME_LEFT" value="47"/>
|
||||||
|
<ctl name="TAS25XX PLAYBACK_VOLUME_RIGHT" value="47"/>
|
||||||
|
<ctl name="TAS25XX CODEC PROFILE" value="default"/>
|
||||||
|
|
||||||
|
<path name="ti-speaker">
|
||||||
|
<ctl name="TAS25XX CODEC PROFILE" value="default"/>
|
||||||
|
<ctl name="TAS25XX ASI Switch" value="1"/>
|
||||||
|
<ctl name="TAS25XX PLAYBACK_VOLUME_LEFT" value="55"/>
|
||||||
|
<ctl name="TAS25XX PLAYBACK_VOLUME_RIGHT" value="55"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="deep-buffer playback">
|
||||||
|
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
</mixer>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue