rodin: Sync with device changes
Change-Id: I39703bdef901ee5483539415fb7dbfc83f9009ec Signed-off-by: Ido <dev.xyzuniverse@gmail.com>
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
service audio_parameter_parser_service /system_ext/bin/hw/android.hardware.audio.parameter_parser.service
|
||||
class core
|
||||
user audioserver
|
||||
group media
|
||||
rlimit rtprio 10 10
|
||||
ioprio rt 4
|
||||
task_profiles ProcessCapacityHigh HighPerformance
|
||||
BIN
Binary file not shown.
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+2226
File diff suppressed because it is too large
Load Diff
+2214
File diff suppressed because it is too large
Load Diff
+511
@@ -0,0 +1,511 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<aurisys_config>
|
||||
<!--
|
||||
* =========================================================================
|
||||
* table of uplink/downlink library mapping for each scenario
|
||||
* =========================================================================
|
||||
-->
|
||||
<aurisys_scenarios>
|
||||
<!-- for misound playback normal -->
|
||||
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_PLAYBACK_NORMAL">
|
||||
<downlink_library_name_list digital_gain_lib_name="">
|
||||
<library name="misoundcrossfade"/>
|
||||
</downlink_library_name_list>
|
||||
</aurisys_scenario>
|
||||
<!-- for misound playback fast -->
|
||||
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_PLAYBACK_LOW_LATENCY">
|
||||
<downlink_library_name_list digital_gain_lib_name="">
|
||||
<library name="misoundfpsop"/>
|
||||
<library name="misoundcrossfade"/>
|
||||
</downlink_library_name_list>
|
||||
</aurisys_scenario>
|
||||
<!-- for aurisys_scene low latency record -->
|
||||
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_RECORD_LOW_LATENCY">
|
||||
<uplink_library_name_list digital_gain_lib_name="mtk_speech_enh">
|
||||
<library name="mtk_speech_enh"/>
|
||||
</uplink_library_name_list>
|
||||
</aurisys_scenario>
|
||||
<!-- for aurisys_scene record w/o AEC -->
|
||||
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_RECORD_WITHOUT_AEC">
|
||||
<uplink_library_name_list digital_gain_lib_name="mtk_speech_enh">
|
||||
<library name="mtk_speech_enh"/>
|
||||
</uplink_library_name_list>
|
||||
</aurisys_scenario>
|
||||
<!-- for aurisys_scene record w/ AEC -->
|
||||
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_RECORD_WITH_AEC">
|
||||
<uplink_library_name_list digital_gain_lib_name="mtk_speech_enh">
|
||||
<library name="mtk_speech_enh"/>
|
||||
</uplink_library_name_list>
|
||||
</aurisys_scenario>
|
||||
<!-- for aurisys_scene record In-ear monitors (IEMs) -->
|
||||
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_RECORD_IEM">
|
||||
<uplink_library_name_list digital_gain_lib_name="mtk_speech_enh">
|
||||
<library name="mtk_speech_enh"/>
|
||||
</uplink_library_name_list>
|
||||
</aurisys_scenario>
|
||||
<!-- for aurisys_scene voip -->
|
||||
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_VOIP">
|
||||
<uplink_library_name_list digital_gain_lib_name="mtk_speech_enh">
|
||||
<library name="mtk_speech_enh"/>
|
||||
</uplink_library_name_list>
|
||||
<downlink_library_name_list digital_gain_lib_name="mtk_speech_enh">
|
||||
<library name="mtk_speech_enh"/>
|
||||
</downlink_library_name_list>
|
||||
</aurisys_scenario>
|
||||
<!-- for aurisys_scene voip w/o AEC -->
|
||||
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_VOIP_WITHOUT_AEC">
|
||||
<uplink_library_name_list digital_gain_lib_name="mtk_speech_enh">
|
||||
<library name="mtk_speech_enh"/>
|
||||
</uplink_library_name_list>
|
||||
<downlink_library_name_list digital_gain_lib_name="mtk_speech_enh">
|
||||
<library name="mtk_speech_enh"/>
|
||||
</downlink_library_name_list>
|
||||
</aurisys_scenario>
|
||||
<!-- for aurisys_scene playback smartpa -->
|
||||
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_PLAYBACK_SMARTPA">
|
||||
<downlink_library_name_list digital_gain_lib_name="">
|
||||
<library name="aurisys_demo"/>
|
||||
</downlink_library_name_list>
|
||||
</aurisys_scenario>
|
||||
<!-- for aurisys_scene HDR record -->
|
||||
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_HDR_RECORD">
|
||||
<uplink_library_name_list digital_gain_lib_name="">
|
||||
<library name="aurisys_demo"/>
|
||||
</uplink_library_name_list>
|
||||
</aurisys_scenario>
|
||||
</aurisys_scenarios>
|
||||
<!--
|
||||
* =========================================================================
|
||||
* HAL Librarys
|
||||
* =========================================================================
|
||||
-->
|
||||
<hal_librarys>
|
||||
<!--
|
||||
* =====================================================================
|
||||
* MediaTek Bessound
|
||||
* =====================================================================
|
||||
-->
|
||||
<library name="mtk_bessound"
|
||||
lib_path="/vendor/lib/libaudioloudc.so"
|
||||
lib64_path="/vendor/lib64/libaudioloudc.so"
|
||||
param_path="/vendor/etc/audio_param"
|
||||
lib_dump_path="AUTO"
|
||||
adb_cmd_key="MTKBESSOUND">
|
||||
<components>
|
||||
<!-- for aurisys_scene playback normal -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_PLAYBACK_NORMAL"
|
||||
sample_rate="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||
audio_format="AUDIO_FORMAT_PCM_32_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"/>
|
||||
</downlink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene playback fast -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_PLAYBACK_LOW_LATENCY"
|
||||
sample_rate="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||
audio_format="AUDIO_FORMAT_PCM_32_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"/>
|
||||
</downlink_process>
|
||||
</component>
|
||||
</components>
|
||||
</library>
|
||||
<!--
|
||||
* =====================================================================
|
||||
* misoundfpsop
|
||||
* =====================================================================
|
||||
-->
|
||||
<library name="misoundfpsop"
|
||||
lib_path="/vendor/lib/libmisoundfpsop.so"
|
||||
lib64_path="/vendor/lib64/libmisoundfpsop.so"
|
||||
param_path="/vendor/etc"
|
||||
lib_dump_path="AUTO"
|
||||
adb_cmd_key="FPSOP">
|
||||
<components>
|
||||
<!-- for aurisys_scene playback fast -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_PLAYBACK_LOW_LATENCY"
|
||||
sample_rate="44100,48000,96000"
|
||||
audio_format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
frame_size_ms="1"
|
||||
b_interleave="0"
|
||||
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"/>
|
||||
</downlink_process>
|
||||
</component>
|
||||
</components>
|
||||
</library>
|
||||
<!--
|
||||
* =====================================================================
|
||||
* misound
|
||||
* =====================================================================
|
||||
-->
|
||||
<library name="misoundcrossfade"
|
||||
lib_path="/vendor/lib/libmisoundcrossfade.so"
|
||||
lib64_path="/vendor/lib64/libmisoundcrossfade.so"
|
||||
param_path="/vendor/etc"
|
||||
lib_dump_path="AUTO"
|
||||
adb_cmd_key="CROSSFADE">
|
||||
<components>
|
||||
<!-- for aurisys_scene playback normal -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_PLAYBACK_NORMAL"
|
||||
sample_rate="44100,48000,96000"
|
||||
audio_format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
frame_size_ms="10"
|
||||
b_interleave="0"
|
||||
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"/>
|
||||
</downlink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene playback fast -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_PLAYBACK_LOW_LATENCY"
|
||||
sample_rate="44100,48000,96000"
|
||||
audio_format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
frame_size_ms="1"
|
||||
b_interleave="0"
|
||||
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"/>
|
||||
</downlink_process>
|
||||
</component>
|
||||
</components>
|
||||
</library>
|
||||
<!--
|
||||
* =====================================================================
|
||||
* MediaTek IIR
|
||||
* =====================================================================
|
||||
-->
|
||||
<library name="mtk_iir"
|
||||
lib_path="/vendor/lib/lib_iir.so"
|
||||
lib64_path="/vendor/lib64/lib_iir.so"
|
||||
param_path=""
|
||||
lib_dump_path="AUTO"
|
||||
adb_cmd_key="MTKIIR">
|
||||
<components>
|
||||
<!-- for aurisys_scene low latency record -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_RECORD_LOW_LATENCY"
|
||||
sample_rate="16000,32000,48000,96000,192000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
frame_size_ms="1,5"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1,2,3"/>
|
||||
</uplink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene record w/o AEC -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_RECORD_WITHOUT_AEC"
|
||||
sample_rate="16000,32000,48000,96000,192000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
frame_size_ms="20"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1,2,3"/>
|
||||
</uplink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene record w/ AEC -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_RECORD_WITH_AEC"
|
||||
sample_rate="16000,32000,48000,96000,192000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
frame_size_ms="20"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1,2,3"/>
|
||||
</uplink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene voip -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_VOIP"
|
||||
sample_rate="16000,32000,48000,96000,192000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
frame_size_ms="20"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1,2,3"/>
|
||||
</uplink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene voip w/o AEC -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_VOIP_WITHOUT_AEC"
|
||||
sample_rate="16000,32000,48000,96000,192000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
frame_size_ms="20"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1,2,3"/>
|
||||
</uplink_process>
|
||||
</component>
|
||||
</components>
|
||||
</library>
|
||||
<!--
|
||||
* =====================================================================
|
||||
* MediaTek Speech Enhancement Library
|
||||
* =====================================================================
|
||||
-->
|
||||
<library name="mtk_speech_enh"
|
||||
lib_path="/vendor/lib/libmtkspparser.so"
|
||||
lib64_path="/vendor/lib64/libmtkspparser.so"
|
||||
param_path="/vendor/etc/audio_param"
|
||||
lib_dump_path="AUTO"
|
||||
adb_cmd_key="MTKSE">
|
||||
<components>
|
||||
<!-- for aurisys_scene low latency record -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_RECORD_LOW_LATENCY"
|
||||
sample_rate="16000,48000"
|
||||
audio_format="AUDIO_FORMAT_PCM_8_24_BIT"
|
||||
frame_size_ms="1,5"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1,2"/>
|
||||
</uplink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene record w/o AEC -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_RECORD_WITHOUT_AEC"
|
||||
sample_rate="16000,48000"
|
||||
audio_format="AUDIO_FORMAT_PCM_8_24_BIT"
|
||||
frame_size_ms="20"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1,2"/>
|
||||
</uplink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene record w/ AEC -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_RECORD_WITH_AEC"
|
||||
sample_rate="16000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
frame_size_ms="20"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1"/>
|
||||
<buf_refs>
|
||||
<buf_ref data_buf_type="DATA_BUF_ECHO_REF"
|
||||
num_channels="1"/>
|
||||
</buf_refs>
|
||||
</uplink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene low latency record -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_RECORD_IEM"
|
||||
sample_rate="16000,48000"
|
||||
audio_format="AUDIO_FORMAT_PCM_8_24_BIT"
|
||||
frame_size_ms="1,5"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1,2"/>
|
||||
</uplink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene voip -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_VOIP"
|
||||
sample_rate="16000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
frame_size_ms="20"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1"/>
|
||||
<buf_refs>
|
||||
<buf_ref data_buf_type="DATA_BUF_ECHO_REF"
|
||||
num_channels="1"/>
|
||||
</buf_refs>
|
||||
</uplink_process>
|
||||
<downlink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_DOWNLINK_IN"
|
||||
num_channels="1"/>
|
||||
<buf_out data_buf_type="DATA_BUF_DOWNLINK_OUT"
|
||||
num_channels="1"/>
|
||||
</downlink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene voip w/o AEC -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_VOIP_WITHOUT_AEC"
|
||||
sample_rate="16000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
frame_size_ms="20"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1"/>
|
||||
</uplink_process>
|
||||
<downlink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_DOWNLINK_IN"
|
||||
num_channels="1"/>
|
||||
<buf_out data_buf_type="DATA_BUF_DOWNLINK_OUT"
|
||||
num_channels="1"/>
|
||||
</downlink_process>
|
||||
</component>
|
||||
</components>
|
||||
</library>
|
||||
<!--
|
||||
* =====================================================================
|
||||
* 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 record In-ear monitors (IEMs) -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_RECORD_IEM"
|
||||
sample_rate="8000,16000,48000,96000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT,AUDIO_FORMAT_PCM_32_BIT,AUDIO_FORMAT_PCM_8_24_BIT,AUDIO_FORMAT_PCM_24_BIT_PACKED"
|
||||
frame_size_ms="1,5"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2,3"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1,2"/>
|
||||
</uplink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene playback streamout primary -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_PLAYBACK_SMARTPA"
|
||||
sample_rate="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT,AUDIO_FORMAT_PCM_32_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"/>
|
||||
</downlink_process>
|
||||
</component>
|
||||
<!-- for aurisys_scene HDR record -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_HDR_RECORD"
|
||||
sample_rate="8000,16000,48000,96000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT,AUDIO_FORMAT_PCM_32_BIT,AUDIO_FORMAT_PCM_8_24_BIT,AUDIO_FORMAT_PCM_24_BIT_PACKED"
|
||||
frame_size_ms="1,5,20"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="2,4"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="2"/>
|
||||
</uplink_process>
|
||||
</component>
|
||||
</components>
|
||||
</library>
|
||||
</hal_librarys>
|
||||
</aurisys_config>
|
||||
+170
@@ -0,0 +1,170 @@
|
||||
<?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>
|
||||
<!-- for aurisys_scene phone call -->
|
||||
<aurisys_scenario aurisys_scenario="AURISYS_SCENARIO_DSP_PHONE_CALL">
|
||||
<uplink_library_name_list digital_gain_lib_name="mtk_sp">
|
||||
<library name="mtk_sp"/>
|
||||
</uplink_library_name_list>
|
||||
<downlink_library_name_list digital_gain_lib_name="mtk_sp">
|
||||
<library name="mtk_sp"/>
|
||||
</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>
|
||||
<!-- for aurisys_scene call -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_DSP_PHONE_CALL"
|
||||
sample_rate="8000,16000,32000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
frame_size_ms="20"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1"/>
|
||||
<buf_refs>
|
||||
<buf_ref data_buf_type="DATA_BUF_ECHO_REF"
|
||||
num_channels="1"/>
|
||||
</buf_refs>
|
||||
</uplink_process>
|
||||
<downlink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_DOWNLINK_IN"
|
||||
num_channels="1"/>
|
||||
<buf_out data_buf_type="DATA_BUF_DOWNLINK_OUT"
|
||||
num_channels="1"/>
|
||||
</downlink_process>
|
||||
</component>
|
||||
</components>
|
||||
</library>
|
||||
<!--
|
||||
* =====================================================================
|
||||
* MTK Speech
|
||||
* =====================================================================
|
||||
-->
|
||||
<library name="mtk_sp"
|
||||
lib_path="/vendor/lib/libmtkspparser.so"
|
||||
lib64_path="/vendor/lib64/libmtkspparser.so"
|
||||
param_path="/vendor/etc/audio_param"
|
||||
lib_dump_path="AUTO"
|
||||
adb_cmd_key="MTK_SPH">
|
||||
<components>
|
||||
<!-- for aurisys_scene call -->
|
||||
<component aurisys_scenario="AURISYS_SCENARIO_DSP_PHONE_CALL"
|
||||
sample_rate="8000,16000,32000"
|
||||
audio_format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
frame_size_ms="20"
|
||||
b_interleave="0"
|
||||
enable_log="0"
|
||||
enable_raw_dump="0"
|
||||
enable_lib_dump="0"
|
||||
enhancement_mode="0">
|
||||
<uplink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_UPLINK_IN"
|
||||
num_channels="1,2"/>
|
||||
<buf_out data_buf_type="DATA_BUF_UPLINK_OUT"
|
||||
num_channels="1"/>
|
||||
<buf_refs>
|
||||
<buf_ref data_buf_type="DATA_BUF_ECHO_REF"
|
||||
num_channels="1"/>
|
||||
</buf_refs>
|
||||
</uplink_process>
|
||||
<downlink_process>
|
||||
<buf_in data_buf_type="DATA_BUF_DOWNLINK_IN"
|
||||
num_channels="1"/>
|
||||
<buf_out data_buf_type="DATA_BUF_DOWNLINK_OUT"
|
||||
num_channels="1"/>
|
||||
</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>
|
||||
@@ -0,0 +1,18 @@
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/audiohal 0771 system audio
|
||||
mkdir /data/vendor/audio 0771 system audio
|
||||
|
||||
service vendor.audio-hal-aidl /vendor/bin/hw/android.hardware.audio.service-aidl.mediatek
|
||||
class hal
|
||||
user audioserver
|
||||
# media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
|
||||
group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct wakelock context_hub system
|
||||
capabilities BLOCK_SUSPEND SYS_NICE
|
||||
# setting RLIMIT_RTPRIO allows binder RT priority inheritance
|
||||
rlimit rtprio 10 10
|
||||
ioprio rt 4
|
||||
task_profiles ProcessCapacityHigh HighPerformance
|
||||
#Audio-add BEGIN
|
||||
socket audio_hw_socket seqpacket 0666 system system
|
||||
#END
|
||||
onrestart restart audioserver
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
<!--
|
||||
Input:
|
||||
vendor/mediatek/proprietary/hardware/audio/common/service/service_aidl/android.hardware.audio.effect.service-aidl.xml
|
||||
-->
|
||||
<manifest version="8.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.audio.effect</name>
|
||||
<version>2</version>
|
||||
<fqname>IFactory/default</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
<!--
|
||||
Input:
|
||||
vendor/mediatek/proprietary/hardware/audio/common/service/service_aidl/android.hardware.audio.service-aidl.xml
|
||||
-->
|
||||
<manifest version="8.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.audio.core</name>
|
||||
<version>2</version>
|
||||
<fqname>IModule/default</fqname>
|
||||
</hal>
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.audio.core</name>
|
||||
<version>2</version>
|
||||
<fqname>IModule/r_submix</fqname>
|
||||
</hal>
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.audio.core</name>
|
||||
<version>2</version>
|
||||
<fqname>IModule/bluetooth</fqname>
|
||||
</hal>
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.audio.core</name>
|
||||
<version>2</version>
|
||||
<fqname>IConfig/default</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
@@ -0,0 +1,11 @@
|
||||
<!--
|
||||
Input:
|
||||
vendor/mediatek/proprietary/hardware/connectivity/bluetooth/bluetooth_audio/android_aidl/bluetooth_audio.xml
|
||||
-->
|
||||
<manifest version="8.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.bluetooth.audio</name>
|
||||
<version>4</version>
|
||||
<fqname>IBluetoothAudioProviderFactory/default</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
@@ -0,0 +1,7 @@
|
||||
p2p_no_group_iface=0
|
||||
driver_param=use_p2p_group_interface=1
|
||||
bss_expiration_scan_count=1
|
||||
wowlan_triggers=disconnect
|
||||
p2p_search_delay=50
|
||||
p2p_go_he=1
|
||||
p2p_add_cli_chan=1
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
ctrl_interface=wlan0
|
||||
update_config=1
|
||||
manufacturer=MediaTek Inc.
|
||||
device_name=Wireless Client
|
||||
model_name=MTK Wireless Model
|
||||
model_number=1.0
|
||||
serial_number=2.0
|
||||
device_type=10-0050F204-5
|
||||
os_version=01020300
|
||||
config_methods=display push_button keypad
|
||||
p2p_no_group_iface=1
|
||||
driver_param=use_p2p_group_interface=1
|
||||
hs20=1
|
||||
pmf=1
|
||||
wowlan_disconnect_on_deinit=1
|
||||
sae_pwe=2
|
||||
@@ -0,0 +1,5 @@
|
||||
p2p_no_group_iface=1
|
||||
driver_param=use_p2p_group_interface=1
|
||||
wowlan_triggers=disconnect
|
||||
p2p_disabled=1
|
||||
bss_no_flush_when_down=1
|
||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user