[alsa-devel] ASOC: support for Allwinner on-chip codec
We have the first pass of the ASOC driver for the Allwinner on-chip codec making some noise that makes sense. Code is here... https://github.com/jonsmirl/lpc31xx/blob/codec/sound/soc/sunxi/sunxi-codec.c
Something isn't right in the channel assignments. If I play a mono clip I hear it. If I play a stereo clip I get silence. If I use speaker-test to play eight channels, I hear Center and Side Right channels. Not Front left/right as expected. Device only does stereo.
If anyone want to do a first pass code revue I can start making the needed changes.
On Thu, Jul 17, 2014 at 10:18 AM, jonsmirl@gmail.com jonsmirl@gmail.com wrote:
We have the first pass of the ASOC driver for the Allwinner on-chip codec making some noise that makes sense. Code is here... https://github.com/jonsmirl/lpc31xx/blob/codec/sound/soc/sunxi/sunxi-codec.c
Something isn't right in the channel assignments. If I play a mono clip I hear it. If I play a stereo clip I get silence. If I use speaker-test to play eight channels, I hear Center and Side Right channels. Not Front left/right as expected. Device only does stereo.
We have tracked this down to something being wrong in the Linaro rootfs builds. This one from 6/23 fails: https://releases.linaro.org/latest/ubuntu/trusty-images/developer
Rootfs from buildroot or debian work.
Maybe Linaro is broken or this SOC driver is sending the wrong info up to libasound on Linaro.
If anyone wants to do a first pass code review I can start making the needed changes.
-- Jon Smirl jonsmirl@gmail.com
participants (1)
-
jonsmirl@gmail.com