[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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:35:05 +0000 (21:35 -0800)
commit71ed7f4478ab1c639bfac58f1aad42c938f5732a
treeafc2da551c95357fc0643da51aeb3dd16c1c37a4
parent7ecc23edbbc7eac2ae5af854b40af6999d55e1db
[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