[alsa-devel] Stereo audio not coming through with a TI codec

Barnaby Jones barnabyjones65 at gmail.com
Sat Feb 15 19:00:04 CET 2014


Hey all,

I'm working on a project that has a TI TLV320AIC3256 codec hooked up to an
OMAP 4 processor.  My biggest issue right now is that I'm only getting one
of the channels.  E.g. if I run:

% tinycap test.wav -d 0 -r 48000 -b 16

Only one of the channels (left, in this case) has any data.  The right
channel is all 0s.

I'm using the tlv320aic325x.c driver that's publicly available from TI[1].
I've verified that the I2S data sent from the codec to the processor has
data on both channels (i.e. I see I2S data on both the high and low phases
of the frame sync).

I'm looking for any help figuring out where to start looking in the sound
system to debug this.  I'm not really familiar with how the I2S data makes
its way from the hardware buffers to the PCM driver; any help there would
be appreciated too!

Thanks
- B

[1]:
https://gitorious.org/ti-codecs/ti-codecs/source/721c6e957db39a9d2174cecd4ca6a7c3d88b3e52:sound/soc/codecs/tlv320aic325x.c


More information about the Alsa-devel mailing list