[ARM] tegra_i2s_audio: add software downsampling for recorded data + fixes
authorIliyan Malchev <malchev@google.com>
Thu, 12 Aug 2010 01:19:47 +0000 (18:19 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:27:38 +0000 (16:27 -0700)
commitdada76ee1116155b3195c7dee63332ba74be6cb8
tree729152cefdf50d121ed560c00682f1cc16810218
parentaa52607a901122ad91ea69de479d420e4910f072
[ARM] tegra_i2s_audio: add software downsampling for recorded data + fixes

downsampling:
-- add ioctl()s to downsample recorded data
-- supported frequencies are 8kHz, 11.025kHz, 22.05kHz, and 44.1kHz
-- downsamping to stereo and mono
-- default is 11.025kHz mono

fixes:
-- fix crashes from dequeuing DMA requests twice

Signed-off-by: Iliyan Malchev <malchev@google.com>
arch/arm/mach-tegra/tegra_i2s_audio.c
include/linux/tegra_audio.h