Nevermind, it is frames * STEREO here, this is where the error is.
ptrbuffer += FRAMEBUFFERSIZE * STEREO * BITS
_______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user