mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
PCM: Fix infinite loop in htimestamp of dmix, dsnoop and dshare plugins
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
5a2daef192
commit
5a6ce31520
3 changed files with 3 additions and 0 deletions
|
|
@ -853,6 +853,7 @@ static int snd_pcm_dmix_htimestamp(snd_pcm_t *pcm,
|
|||
break;
|
||||
*avail = avail1;
|
||||
*tstamp = snd_pcm_hw_fast_tstamp(dmix->spcm);
|
||||
ok = 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue