mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-06 16:56:00 +00: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 |