20 Mar
2012
20 Mar
'12
8:20 p.m.
On 03/20/2012 06:42 PM, Grazvydas Ignotas wrote:
This is what we have in pandora tree now: http://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitd... Seems to work well for everything here.
To me this looks more like a correct fix. At quick test I got single xrun when starting up but not endless loop of them. Maybe need to tune a bit with CONFIG_SND_PCM_XRUN_DEBUG=y.
As a reference here are the test cases from you and Peter:
Nok: aplay -D hw:0 -f s16_le -c 2 --period-size=512 --start-delay=50000 /dev/urandom
Ok: aplay -D hw:0 -fs16_le -c2 --period-size=320 --buffer-size=972 \ --start-delay=81000 -v /dev/urandom
Nok: aplay -D hw:0 -fs16_le -c2 --period-size=324 --buffer-size=972 \ --start-delay=81000 -v /dev/urandom
--
Jarkko