-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Johannes Berg wrote:
On Wed, 2007-04-04 at 20:31 +0200, Stefan de Konink wrote:
In lsmod powermac is not loaded. The 'strange' thing I found, is that even without snd-pcm-oss or aoss I get garbage. At that moment I wonder what emulation layer is used.
Oh, I see. There was a bug in the i2sbus setup, does the i2sbus-pcm.c file (sound/aoa/soundbus/i2sbus/i2sbus-pcm.c) contain the following comment at around line 380: /* * For input, we need to do a graceful stop; if we abort * the DMA, we end up with leftover bytes that corrupt * the next recording. To do this we set the S0 status * bit and wait for the DMA controller to stop. Each * command has a branch condition to * make it branch to a stop command if S0 is set. * On input we also need to wait for the S7 bit to be * set before turning off the DMA controller. * In fact we do the graceful stop for output as well. */
Check, I have that.
Stefan