mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pw->time.delay is delay in number of frames in pw->time.rate domain, however snd_pcm_pipewire_delay function is suppose to return number of frames in io->rate domain. Convert pw->time.delay to io->rate domain to increase precision when the io->rate is not equal to the pw->time.rate snd_pcm_pipewire_delay should return how many frames are queued in pipewire, pw_stream_get_time returns numbers of the queued frames before snd_pcm_pipewire_process is called, however this function inserts (or removes) some frames from pipewire. Therefore newly inserted (removed) frames should be added to pw->time.delay to increase precision. Signed-off-by: Martin Geier <martin.geier@streamunlimited.com> |
||
|---|---|---|
| .. | ||
| alsa-plugins | ||
| conf | ||