/*
* Without regular period interrupts, we have to check
* the elapsed time to detect xruns.
/*
* Without regular period interrupts, we have to check
* the elapsed time to detect xruns.
delta += runtime->buffer_size;
hw_base += runtime->buffer_size;
if (hw_base >= runtime->boundary)
delta += runtime->buffer_size;
hw_base += runtime->buffer_size;
if (hw_base >= runtime->boundary)