when a playback starts, the first DMA burst will fill the DSP host buffer.
If user space asks for shorter period size then this burst and starts a playback with less than the burst size of the DSP then it will immediately xrun (DMA copies uninitialized data to DSP).
Place a constraint on the minimum period time (which will be forcing safe period size) to avoid such issue.
Hi,
when a playback starts, the first DMA burst will fill the DSP host buffer. If user space asks for shorter period size then this burst and starts a playback with less than the burst size of the DSP then it will immediately xrun (DMA copies uninitialized data to DSP).
Place a constraint on the minimum period time (which will be forcing safe period size) to avoid such issue.