mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
pcm direct plugins: change timestamping in dsnoop
Do not use own timestamps, try to sync hw.ptr with real timestamp. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
5cfa03d2f3
commit
13b5d972d2
4 changed files with 28 additions and 8 deletions
|
|
@ -852,7 +852,7 @@ static int snd_pcm_dmix_htimestamp(snd_pcm_t *pcm,
|
|||
if (ok && *avail == avail1)
|
||||
break;
|
||||
*avail = avail1;
|
||||
*tstamp = snd_pcm_hw_fast_tstamp(pcm);
|
||||
*tstamp = snd_pcm_hw_fast_tstamp(dmix->spcm);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue