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