15 Aug
2010
15 Aug
'10
8:08 p.m.
This commit is a rebase of the following patch: commit ac97ef246a754b9a2b4236ca08c6ade389dc206f Author: Pradeep Jilagam pjilagam@qualcomm.com Date: Wed Apr 7 17:38:20 2010 +0530
alsa: 8k: Limit period size for sample rates greater than 8KHz
The DSP interrupts are non-periodic. ALSA expects periodic acknowledgement for the buffers sent. Hence, the alsa driver uses timer as alternate interrupt source. The min resolution is 10ms which results in distorted audio for some sample rates. Hence restricting the minimum period size for sample rates greater than 8KHz to 512 frames.
Change-Id: Ic8c4180fbee7242fa3139230ddcf6a9f98e4c7ab CRs-fixed: 231784 Signed-off-by: Pradeep Jilagam pjilagam@qualcomm.com