[alsa-devel] snd_pcm_drop causing lockup with DMix

John Lindgren john.lindgren at tds.net
Sun Feb 28 18:15:13 CET 2010


Unfortunately, it doesn't make a difference.

On Sun, 2010-02-28 at 17:22 +0100, Jaroslav Kysela wrote:
> Could you try this patch?
> 
> diff --git a/src/pcm/pcm_direct.c b/src/pcm/pcm_direct.c
> index d9e596e..8c7ca06 100644
> --- a/src/pcm/pcm_direct.c
> +++ b/src/pcm/pcm_direct.c
> @@ -1274,6 +1274,7 @@ int snd_pcm_direct_set_timer_params(snd_pcm_direct_t *dmix)
>   	snd_timer_params_set_ticks(params, 1);
>   	if (dmix->tread) {
>   		filter = (1<<SND_TIMER_EVENT_TICK) |
> +			 (1<<SND_TIMER_EVENT_STOP) |
>   			 dmix->timer_event_suspend |
>   			 dmix->timer_event_resume;
>   		snd_timer_params_set_filter(params, filter);
> 
>  					Jaroslav
> 
> -----
> Jaroslav Kysela <perex at perex.cz>



More information about the Alsa-devel mailing list