summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-07-29 21:33:04 +0800
committerChen Liangjun <b36089@freescale.com>2012-07-30 16:57:25 +0800
commit253214e27a09c3320423b5274be00c3416b48c1a (patch)
tree76a8519f61ea0e2a3f192c7286b847140354f910 /arch
parent238d8d1281485f65b8a6b56df638476f5cb22db7 (diff)
ENGR00218421-2 ESAI_ASRC:Add support for p2p virtual device playback
In the origin code, ESAI driver supoprt audio p2p playback by setting input PCM data's sample rate thought amixer interface.It is ugly and request user application call amixer control interface everytime before and playback. In this patch, user can call the audio p2p playback by writing data to an special virtual device. Driver would automatically get the params of input PCM. At the same time, driver would get the output sample rate and word data. With the data abover, driver can set ASRC properly and audio p2p palyback is support. This patch mainly focus on: 1 clean old p2p playback way for ESAI. 2 Setup the output sample rate and word width to virtual device's substream_runtime's private data. Everytime the virtual device is called, the data abover is used for config ASRC, ESAI, and codec. Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions