Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 218641 | Differences between
and this patch

Collapse All | Expand All

(-)alsa-lib-1.0.16.orig/src/pcm/pcm_dmix.c (-1 / +1 lines)
Lines 313-319 Link Here
313
313
314
	/* the slave_app_ptr can be far behing the slave_hw_ptr */
314
	/* the slave_app_ptr can be far behing the slave_hw_ptr */
315
	/* reduce mixing and errors here - just skip not catched writes */
315
	/* reduce mixing and errors here - just skip not catched writes */
316
	if (dmix->slave_hw_ptr < dmix->slave_appl_ptr)
316
	if (dmix->slave_hw_ptr <= dmix->slave_appl_ptr)
317
		slave_size = dmix->slave_appl_ptr - dmix->slave_hw_ptr;
317
		slave_size = dmix->slave_appl_ptr - dmix->slave_hw_ptr;
318
	else
318
	else
319
		slave_size = dmix->slave_appl_ptr + (dmix->slave_boundary - dmix->slave_hw_ptr);
319
		slave_size = dmix->slave_appl_ptr + (dmix->slave_boundary - dmix->slave_hw_ptr);

Return to bug 218641