On 03/26/2014 10:26 AM, Peter Ujfalusi wrote:
Hi Leonardo,
On 03/25/2014 08:50 PM, Leonardo Gabrielli wrote:
Thanks Peter, I've been able today to test following your suggestions. Unfortunately I didn't get any improvement on latency, but reducing sDMA FIFO threshold improved on audio integrity (with some period+samplerate combinations I have corrupted audio, maybe scrambled or empty frames).
Can you elaborate on the corrupted/scrambled audio? I just don't see how it can happen. Can you get the /proc/asound/card0/pcm0p/sub0/hw_params when you have the audio quality issue?
I can not run jackd on the board anymore (with linux-next at least): FATAL: cannot locate cpu MHz in /proc/cpuinfo
but with aplay -v --period-size=512 or 64 2ch-left-since-22050.wav seams to be fine for me (assuming AU=ko means that it is the corrupted one)
Yeah, this is not correct. it means 512 or 64 periods and not the period sizes. I would need the hw_params for the actual playback to be able to reproduce the issue.