summaryrefslogtreecommitdiffstats
path: root/hal/msm8974/platform.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-06-12 14:51:49 -0700
committerGlenn Kasten <gkasten@google.com>2014-06-12 14:51:49 -0700
commit98fd45339a56253ea5fe117f2c91daaf586adeae (patch)
treeebe868c159e3579ae0c69b5fd01110936924cf75 /hal/msm8974/platform.h
parent4f99339176510e3a9995fb84797efb6e77de3572 (diff)
downloadhardware_qcom_audio-98fd45339a56253ea5fe117f2c91daaf586adeae.tar.gz
hardware_qcom_audio-98fd45339a56253ea5fe117f2c91daaf586adeae.tar.bz2
hardware_qcom_audio-98fd45339a56253ea5fe117f2c91daaf586adeae.zip
Disable fast capture by default for 8974
Fast capture interacts poorly with AEC on 8974. Frame count is changed from 240 to 480 (10 ms), which means fast capture thread will not be started by default. Fast capture thread is only used if frame count is strictly < 10 ms. Fast capture feature can be re-enabled for specific app testing by setting property audio_hal.in_period_size=240 in /data/local.prop Bug: 15591052 Change-Id: I678bf233597c63dc414cab9f64b5ee494eb8701d
Diffstat (limited to 'hal/msm8974/platform.h')
-rw-r--r--hal/msm8974/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h
index 19f5d0b5..8c052a58 100644
--- a/hal/msm8974/platform.h
+++ b/hal/msm8974/platform.h
@@ -125,7 +125,7 @@ enum {
#define AUDIO_CAPTURE_PERIOD_COUNT 2
#define LOW_LATENCY_CAPTURE_SAMPLE_RATE 48000
-#define LOW_LATENCY_CAPTURE_PERIOD_SIZE 240
+#define LOW_LATENCY_CAPTURE_PERIOD_SIZE 480
#define LOW_LATENCY_CAPTURE_USE_CASE 1
#endif // QCOM_AUDIO_PLATFORM_H