Petr Kulhavy wrote: > But what is runtime->boundary good for? It's a multiple of the buffer size. Going beyond the actual buffer allows tracking how many frames are missing when an underrun or overrun happens. Regards, Clemens