From 6e3ae51fdc18f477960fbf03e3566e1f5a6cd55a Mon Sep 17 00:00:00 2001 From: justinweng Date: Wed, 22 May 2019 18:42:58 +0800 Subject: [PATCH] sm6250-common: audio: update audio_io_policy for VoIP Add VoIP Tx app type config for pcm and low-latency captures. Bug: 133297310 Test: make a voip call Change-Id: I5dd67167b7568fd08a7ae979b50417f2627dc7d9 Signed-off-by: justinweng --- audio/audio_io_policy.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/audio/audio_io_policy.conf b/audio/audio_io_policy.conf index 0ba3b3b..90221b7 100644 --- a/audio/audio_io_policy.conf +++ b/audio/audio_io_policy.conf @@ -116,4 +116,18 @@ inputs { bit_width 32 app_type 69949 } + voip_tx { + flags AUDIO_INPUT_FLAG_VOIP_TX + formats AUDIO_FORMAT_PCM_16_BIT + sampling_rates 8000|16000|32000|48000 + bit_width 16 + app_type 69946 + } + low_latency_voip_tx { + flags AUDIO_INPUT_FLAG_VOIP_TX|AUDIO_INPUT_FLAG_FAST + formats AUDIO_FORMAT_PCM_16_BIT + sampling_rates 48000 + bit_width 16 + app_type 69946 + } }