[alsa-devel] hw_ptr_interrupt removal broke interrupt pointer updates

Clemens Ladisch clemens at ladisch.de
Wed Jan 27 10:49:50 CET 2010


Jaroslav Kysela wrote:
> I returned hw_ptr_interrupt variable back. I am testing this patch now:
> 
> http://git.alsa-project.org/?p=alsa-kernel.git;a=commitdiff;h=04d64a69fcb9fd182d73d6f1a8de55b2f527a1de
> 
> A review is always welcome. Thanks.

The patch looks fine, and it works again now.


A somewhat unrelated issue:  Both old and new code assume that
hw_ptr==0 is a period boundary, but that is not true if the boundary
is not an integer multiple of the period size, and the pointer wraps.
I'm not sure what happens then.


Best regards,
Clemens


More information about the Alsa-devel mailing list