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:
justinweng
2021-07-19 07:52:21 +02:00
committed by Alexander Winkowski
parent 21171a2f2d
commit 98bc6d7dd7
2 changed files with 4 additions and 2 deletions

View File

@ -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