From bdd5935f4389d7cc4fc1816415ed9b3400a31150 Mon Sep 17 00:00:00 2001 From: Weiyin Jiang Date: Fri, 28 Aug 2020 14:56:09 +0800 Subject: [PATCH] sm6250-common: audio: add compress recording configurations Add compress recording configurations CRs-Fixed: 2764160 Change-Id: I8e8b1f89d7f28d997342c5946d0a35111e941ec1 --- audio/audio_io_policy.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/audio/audio_io_policy.conf b/audio/audio_io_policy.conf index c61ea36..d16d77d 100644 --- a/audio/audio_io_policy.conf +++ b/audio/audio_io_policy.conf @@ -116,6 +116,27 @@ inputs { bit_width 32 app_type 69949 } + record_compress_16 { + flags AUDIO_INPUT_FLAG_COMPRESS + formats AUDIO_FORMAT_PCM_16_BIT + sampling_rates 8000|16000|32000|44100|48000|88200|96000|176400|192000 + bit_width 16 + app_type 69938 + } + record_compress_24 { + flags AUDIO_INPUT_FLAG_COMPRESS + formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_24_BIT + sampling_rates 44100|48000|88200|96000|176400|192000 + bit_width 24 + app_type 69948 + } + record_compress_32 { + flags AUDIO_INPUT_FLAG_COMPRESS + formats AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_FLOAT + sampling_rates 44100|48000|88200|96000|176400|192000 + bit_width 32 + app_type 69949 + } voip_tx { flags AUDIO_INPUT_FLAG_VOIP_TX formats AUDIO_FORMAT_PCM_16_BIT