[linux-cirrus] Help with I2S Audio Driver

  • From: "Stuart Wood" <stuart.wood@xxxxxxxxxxxxxxxxxxxx>
  • To: <linux-cirrus@xxxxxxxxxxxxx>
  • Date: Thu, 28 Jun 2007 15:23:06 -0400

Hi All, 

I've gotten the I2S Audio driver to some what work with
a quick hack to make it a slave instead of a master. i.e.
the frame and bit clock pins are inputs and I supply the 
audio clocks.

The problem is that the audio come out stuttered. It plays
For 50 mS then pauses and then plays some more. This was 
done with mpg123 playing an MP3 and sox playing a wav file.
During both of those time top shows CPU usage in the 98%
range. When I use 

cat /dev/urandom > /dev/dsp 

I get uninterrupted noise and CPU utilization is around 50%

I don't understand why cat would give me a different response
then mpg123 and sox if this is a driver issue. Don't both of 
them send data through /dev/dsp? Could this be related to the 
dma?

Any help in pointing me in the right direction would be greatly
appreciated. 

Stuart Wood 

Lab X Technologies, LLC
176 Anderson Ave.
Suite 302
Rochester, NY 14607
Phone: (585) 271-7790 x207
Fax: (585) 473.4707 


Other related posts:

  • » [linux-cirrus] Help with I2S Audio Driver