Comment 9 for bug 939593

Revision history for this message
Thomas Espersson (espersson) wrote :

Comment from STE Audio guys:

I looked a bit at the glitch-free audio solution and it seems that there are many things to be addressed to
make that work. For example it seems that not even the ALSA-framework yet supports this. Also I see som
requirements of having HW-buffers of 2-3 seconds! AB8500 does not support this.
These kind of large changes would probably require a lot of work and testing.

However, I don’t think that this new features should be needed to avoid underruns. We have done a lot of
work already to get rid of underruns, and the solution was to use cyclic DMA, i.e. we set up the DMA once
before playback starts and then we just fill as much as we can after each interrupt. So the DMA just assumes
that we have filled data it needs.
Perhaps, the solution is to tweak the period-size and the buffer-size configuration of the driver from userspace.

To be further investigated....