summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJoshua Lang <joshualang@google.com>2016-12-21 12:25:02 -0800
committerJoshua Lang <joshualang@google.com>2017-01-19 12:46:54 -0800
commit0f5a8f244970e691d2bbbf23c3df22a5ecde26aa (patch)
tree4183a3d04bc6a5a11456a701db64c1eb9828edfe /audio
parent3eb39a76c87053408fdc0cbf151b1cfb5e73099e (diff)
downloaddevice_generic_goldfish-0f5a8f244970e691d2bbbf23c3df22a5ecde26aa.tar.gz
device_generic_goldfish-0f5a8f244970e691d2bbbf23c3df22a5ecde26aa.tar.bz2
device_generic_goldfish-0f5a8f244970e691d2bbbf23c3df22a5ecde26aa.zip
Increase audio input buffer sizes
Audio input was distorted at the small buffer size. Test: Record audio and playback Change-Id: Iff92957a4452aea69238cc2cdb39c7e8a95fc799 (cherry picked from commit 037f564660877780b64151e0bbd05ce6735d5985)
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index a50357fa..2498e518 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -39,7 +39,7 @@
#define OUT_PERIOD_MS 15
#define OUT_PERIOD_COUNT 4
-#define IN_PERIOD_MS 2
+#define IN_PERIOD_MS 15
#define IN_PERIOD_COUNT 4
struct generic_audio_device {