On Wed, 11 May 2016 22:13:53 +0200
Alexandre Ratchov <[email protected]> wrote:

> > If I use aucat or mpg123 or flac123 to play something, I get
> > "pxa2x0_dma_to_fifo: bogus length 17640" on the console and the player just
> > hangs there with no sound.
> 
> now this one is fixed; the problem was that the audio(4) driver
> used to allow block sizes larger than the maximum supported by the
> zaudio(4) driver.
> 
> still audio stutters on my machine; the way zaudio(4) does dma
> doesn't seem correct, which probably causes the stuttering.

Thank you for fixing this! I recompiled the -current kernel and can
confirm that audio now plays with and without sndiod running.

It seems that stuttering is significantly worse without sndiod.
With sndiod running, music sounds almost acceptable - just distorted a
bit (still caused by stuttering I am guessing, just less noticeable).

I experimented with low bit rate mp3s, and with low bit depth and
downsampled wav and flac files, but it did not make much difference -
the CPU does not appear to be the limiting factor.

> > On a related note, while browsing src/sys/arch/arm/xscale I noticed that
> > some error printf's have '\n', [...]
> 
> you're right; messages are supposed to be terminated with '\n'.

I will try to find some time in the next few days to come up with a
diff.

Reply via email to