mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-07 04:06:12 -05:00
Without this change, playback_ready or capture_ready was called immediately after spa_alsa_start even tho start-delay was set. Ready function was called with not precise "nsec" value, as "nsec" plus latency should return time when the next buffer should be played which wasn't true as start-delay was not included. Now the playback is started immediately when the start_delay is set. The alsa_do_wakeup_work is still called immediately but two things can happened. Either start-delay is smaller then max_error and *_ready function is called immediately, or start-delay is bigger then max_error and state->next_time will be updated to correct value. Signed-off-by: Martin Geier <martin.geier@streamunlimited.com> |
||
|---|---|---|
| .. | ||
| aec | ||
| alsa | ||
| audioconvert | ||
| audiomixer | ||
| audiotestsrc | ||
| avb | ||
| bluez5 | ||
| control | ||
| ffmpeg | ||
| jack | ||
| libcamera | ||
| support | ||
| test | ||
| v4l2 | ||
| videoconvert | ||
| videotestsrc | ||
| volume | ||
| vulkan | ||
| meson.build | ||