From b8dbd31d098c712fbd7ba5819fbb5953203e6a82 Mon Sep 17 00:00:00 2001 From: justinweng Date: Fri, 10 May 2019 21:45:19 +0800 Subject: [PATCH] sm6250-common: audio: offload 24 bits playback supports mp3/aac format compress_offload_24 supports mp3/aac format Bug: 132425237 Test: mp3 playback Change-Id: I5742db45908f9d600cab0fef62badf447fc5c585 Signed-off-by: justinweng --- audio/audio_io_policy.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/audio_io_policy.conf b/audio/audio_io_policy.conf index 90221b7..c61ea36 100644 --- a/audio/audio_io_policy.conf +++ b/audio/audio_io_policy.conf @@ -90,7 +90,7 @@ outputs { } compress_offload_24 { flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING - formats AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO + formats AUDIO_FORMAT_MP3|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_VORBIS|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|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 24 app_type 69940