View | Details | Raw Unified | Return to bug 9181
Collapse All | Expand All

(-)alsa-lib-1.0.10.orig/src/pcm/pcm_dmix.c (+6 lines)
Lines 532-537 Link Here
532
			return 0;
532
			return 0;
533
		}
533
		}
534
	}
534
	}
535
536
	if (dmix->state == SND_PCM_STATE_XRUN) {
537
		snd_pcm_dmix_drop(pcm);
538
		return 0;
539
	}
540
535
	stop_threshold = pcm->stop_threshold;
541
	stop_threshold = pcm->stop_threshold;
536
	if (pcm->stop_threshold > pcm->buffer_size)
542
	if (pcm->stop_threshold > pcm->buffer_size)
537
		pcm->stop_threshold = pcm->buffer_size;
543
		pcm->stop_threshold = pcm->buffer_size;

Return to bug 9181