audio: adjust the latency for immersive playback
To meet the av sync, we need to adjust the uc latency for immersive playback. Bug: 243645548 Test: Test with av sync video Change-Id: I5980c8833e168f859b541eeab7d093c206857233
This commit is contained in:
parent
493ca50425
commit
eec44318a5
2 changed files with 9 additions and 0 deletions
|
@ -219,6 +219,10 @@
|
|||
<be_cfg be_id="OUT_A2DP_BE_CFG" latency="180000"/>
|
||||
</usecase>
|
||||
|
||||
<usecase id="UC_IMMERSIVE_PLAYBACK" type="playback">
|
||||
<be_cfg be_id="OUT_A2DP_BE_CFG" latency="100000"/>
|
||||
</usecase>
|
||||
|
||||
<usecase id="UC_AUDIO_RECORD" type="capture">
|
||||
<be_cfg be_id="IN_CAMCORDER_LANDSCAPE_BE_CFG" latency="160000"/>
|
||||
<be_cfg be_id="IN_CAMCORDER_INVERT_LANDSCAPE_BE_CFG" latency="160000"/>
|
||||
|
|
|
@ -182,6 +182,7 @@
|
|||
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
|
||||
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
||||
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
|
||||
<!-- for output with flag AUDIO_OUTPUT_SPATIALIZER -->
|
||||
<usecase id="UC_IMMERSIVE_PLAYBACK" dev1="30" dyn_path="true" dsp_vol="false" mmap="false" period="10" period_num="3"/>
|
||||
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
|
||||
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
|
||||
|
@ -218,6 +219,10 @@
|
|||
<be_cfg be_id="OUT_A2DP_BE_CFG" latency="180000"/>
|
||||
</usecase>
|
||||
|
||||
<usecase id="UC_IMMERSIVE_PLAYBACK" type="playback">
|
||||
<be_cfg be_id="OUT_A2DP_BE_CFG" latency="100000"/>
|
||||
</usecase>
|
||||
|
||||
<usecase id="UC_AUDIO_RECORD" type="capture">
|
||||
<be_cfg be_id="IN_CAMCORDER_LANDSCAPE_BE_CFG" latency="160000"/>
|
||||
<be_cfg be_id="IN_CAMCORDER_INVERT_LANDSCAPE_BE_CFG" latency="160000"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue