salami: Bring in pre-OOS 14 audio changes
Somehow missed during last updates from OOS 13.x. Change-Id: If81a51dd6098a76e43157b815a5e284e324147d0
This commit is contained in:
@@ -387,12 +387,28 @@
|
||||
</props>
|
||||
</compress-device>
|
||||
|
||||
<!-- #ifdef OPLUS_FEATURE_OCAR_AUDIO -->
|
||||
<!-- YeWenliang@MULTIMEDIA.AUDIODRIVER.HAL, 2022/09/06, add for support call record in ocar mode -->
|
||||
<pcm-device>
|
||||
<id>125</id>
|
||||
<name>PCM125</name>
|
||||
<pcm_plugin>
|
||||
<so-name>libagm_pcm_plugin.so</so-name>
|
||||
</pcm_plugin>
|
||||
<props>
|
||||
<playback>0</playback>
|
||||
<capture>1</capture>
|
||||
<session_mode>2</session_mode>
|
||||
</props>
|
||||
</pcm-device>
|
||||
<!-- #endif OPLUS_FEATURE_OCAR_AUDIO -->
|
||||
|
||||
<pcm-device>
|
||||
<id>126</id>
|
||||
<name>PCM126</name>
|
||||
<pcm_plugin>
|
||||
<so-name>libagm_pcm_plugin.so</so-name>
|
||||
</pcm_plugin>
|
||||
<props>
|
||||
<playback>1</playback>
|
||||
<capture>0</capture>
|
||||
|
||||
@@ -115,6 +115,8 @@
|
||||
<!-- Huangzilong@MULTIMEDIA.AUDIODRIVER, 2022/09/20, Add for 4ch aec -->
|
||||
<param key="oplus_4ch_aec_enable" value="false"/>
|
||||
<param key="oplus_ref_channel_count" value ="2" />
|
||||
<!-- zhangrun@MULTIMEDIA.AUDIODRIVER, 2023/02/22, add for support call record in ocar mode -->
|
||||
<param key="ocar_mode_support" value="true"/>
|
||||
</config_params>
|
||||
<config_volume>
|
||||
<use_volume_set_param>1</use_volume_set_param>
|
||||
|
||||
@@ -155,6 +155,12 @@
|
||||
<!-- STREAMTX - INCALL_RECORD -->
|
||||
<graph_kv key="0xB1000000" value="0xB100000C"/>
|
||||
</keys_and_values>
|
||||
<keys_and_values SubType="PAL_STREAM_VOICE_CALL_RECORD_DOWNLINK">
|
||||
<!-- STREAMTX - INCALL_RECORD -->
|
||||
<graph_kv key="0xB1000000" value="0xB100000C"/>
|
||||
<!-- PROXY_TX_TYPE - PROXY_TX_VOICE_RX -->
|
||||
<graph_kv key="0xD1000000" value="0xD1000003"/>
|
||||
</keys_and_values>
|
||||
</stream>
|
||||
<!-- Voice stream -->
|
||||
<stream type="PAL_STREAM_VOICE_CALL">
|
||||
|
||||
Reference in New Issue
Block a user