android_device_tecno_LG8n/configs/audio/aurisys_config_rv.xml

94 lines
4.3 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<aurisys_config>
<!--
* =========================================================================
* table of uplink/downlink library mapping for each scenario
* =========================================================================
-->
<aurisys_scenarios>
<!-- for aurisys_scene playback with smartpa for all mixed streamout -->
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_DSP_PLAYBACK_SMARTPA">
<downlink_library_name_list digital_gain_lib_name="">
<library name="smartpa_rt5512"/>
</downlink_library_name_list>
</aurisys_scenario>
</aurisys_scenarios>
<!--
* =========================================================================
* DSP HAL Librarys
* =========================================================================
-->
<hal_librarys>
<!--
* =====================================================================
* DEMO
* =====================================================================
-->
<library name="aurisys_demo"
lib_path="/vendor/lib/libaurisysdemo.so"
lib64_path="/vendor/lib64/libaurisysdemo.so"
param_path="/vendor/etc/audio_param"
lib_dump_path="AUTO"
adb_cmd_key="AURISYS_DEMO">
<components>
<!-- for aurisys_scene playback with smartpa -->
<component aurisys_scenario="AURISYS_SCENARIO_DSP_PLAYBACK_SMARTPA"
sample_rate="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
audio_format="AUDIO_FORMAT_PCM_8_24_BIT"
frame_size_ms="0"
b_interleave="1"
enable_log="0"
enable_raw_dump="0"
enable_lib_dump="0"
enhancement_mode="0">
<downlink_process>
<buf_in data_buf_type="DATA_BUF_DOWNLINK_IN"
num_channels="2"/>
<buf_out data_buf_type="DATA_BUF_DOWNLINK_OUT"
num_channels="2"/>
<buf_refs>
<buf_ref data_buf_type="DATA_BUF_IV_BUFFER"
num_channels="2"/>
</buf_refs>
</downlink_process>
</component>
</components>
</library>
<!--
* =====================================================================
* RT5512 smartpa
* =====================================================================
-->
<library name="smartpa_rt5512"
lib_path="/vendor/lib/libaudiosmartpartk.so"
lib64_path="/vendor/lib64/libaudiosmartpartk.so"
param_path="/vendor/etc/smartpa_param/SmartPaVendor1_AudioParam.dat"
lib_dump_path="AUTO"
adb_cmd_key="RT5512">
<components>
<!-- for aurisys_scene playback with smartpa -->
<component aurisys_scenario="AURISYS_SCENARIO_DSP_PLAYBACK_SMARTPA"
sample_rate="48000"
audio_format="AUDIO_FORMAT_PCM_8_24_BIT"
frame_size_ms="0"
b_interleave="1"
enable_log="0"
enable_raw_dump="0"
enable_lib_dump="0"
enhancement_mode="0">
<downlink_process>
<buf_in data_buf_type="DATA_BUF_DOWNLINK_IN"
num_channels="2"/>
<buf_out data_buf_type="DATA_BUF_DOWNLINK_OUT"
num_channels="2"/>
<buf_refs>
<buf_ref data_buf_type="DATA_BUF_IV_BUFFER"
num_channels="2"/>
</buf_refs>
</downlink_process>
</component>
</components>
</library>
</hal_librarys>
</aurisys_config>