mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-02 20:17:16 +09:00
sm6250-common: audio: Sync audio feature from coral
1. enforce 48KHz sampling rate at COPP for audio recording. 2. resize offload buffer to reduce power consumption. 3. enforce 24 bit width for offload playback and apply app_type 69940 Bug: 147027029 Test: build passed Change-Id: Ie692746f4588b5706cbab7eddf5b6b7b8766a181 Signed-off-by: justinweng <justinweng@google.com>
This commit is contained in:
parent
21171a2f2d
commit
98bc6d7dd7
@ -86,7 +86,7 @@ outputs {
|
||||
formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2
|
||||
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||
bit_width 16
|
||||
app_type 69936
|
||||
app_type 69940
|
||||
}
|
||||
compress_offload_24 {
|
||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
|
||||
|
@ -9,12 +9,14 @@ persist.vendor.audio.fluence.audiorec=true
|
||||
persist.vendor.audio.fluence.voicecall=true
|
||||
persist.vendor.audio.fluence.voicecomm=true
|
||||
persist.vendor.audio.fluence.voicerec=true
|
||||
persist.vendor.audio_hal.dsp_bit_width_enforce_mode=24
|
||||
persist.vendor.audio.ras.enabled=false
|
||||
persist.vendor.audio.spv3.enable=true
|
||||
persist.vendor.audio.voicecall.speaker.stereo=false
|
||||
ro.vendor.audio.sdk.fluencetype=fluence
|
||||
ro.vendor.audio.sdk.ssr=false
|
||||
vendor.audio.adm.buffering.ms=2
|
||||
vendor.audio.capture.enforce_legacy_copp_sr=true
|
||||
vendor.audio.dolby.ds2.enabled=false
|
||||
vendor.audio.dolby.ds2.hardbypass=false
|
||||
vendor.audio.enable.mirrorlink=false
|
||||
@ -63,7 +65,7 @@ vendor.audio.feature.wsa.enable=false
|
||||
vendor.audio.flac.sw.decoder.24bit=true
|
||||
vendor.audio.hal.output.suspend.supported=true
|
||||
vendor.audio.hw.aac.encoder=true
|
||||
vendor.audio.offload.buffer.size.kb=32
|
||||
vendor.audio.offload.buffer.size.kb=256
|
||||
vendor.audio.offload.gapless.enabled=true
|
||||
vendor.audio.offload.multiaac.enable=true
|
||||
vendor.audio.offload.multiple.enabled=false
|
||||
|
Loading…
x
Reference in New Issue
Block a user