NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52175: audio sometimes stutters



On Tue, Apr 25, 2017 at 10:17:35PM +0200, Manuel Bouyer wrote:
> [...]
> I'm also hearing problems on a allwinner A20 (920Mhz ARM cortex-A7),
> which seems related to ossaudio. When playing a file with mplayer
> (which, I believe, uses ossaudio), there is stops and clicks
> in the output. Playing the same file with audioplay is as perfect
> as it can be. The file is:
> RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 44100 Hz
> 
> Also, playing a sound from opencpn (which uses portaudio2, which uses
> ossaudio). It hangs. ktrace shows what looks like an endless loop writing
> the same 64k data block again and again (the file itself is less than 128KB,
> but larger files shows the same behavior), at a very low rate.
> I don't hear anything on output but maybe that's because the file
> is played at a very low rate.

Note that the hardware can only do 48Khz, 16 or 24 bits.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index