Skip to content

livesync: Allow queueing up to latency buffers, also sync on the first buffer and add sync property

commit 0ff6480209ca280262a817d4a0b14eedf68ae4f2
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Wed Jun 26 11:53:40 2024 +0300

    livesync: Add sync property for allowing to output buffers as soon as they arrive
    
    By default livesync will wait for each buffer on the clock. If sync is
    set to false, it will output buffers immediately once they're available
    and only waits on the clock for outputting gap filler buffers.

commit 6d19367f461cf1e641219b6278c2fe634bfe79a9
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Wed Jun 26 10:06:14 2024 +0300

    livesync: Synchronize on the first buffer too
    
    Previously the first buffer would be output immediately and
    synchronization would only happen from the second buffer onwards.
    This would mean that the first buffer would potentially be output too
    early.
    
    Instead, if there is no known output timestamp yet but a buffer with a
    timestamp, first of all take its start as the initial output timestamp
    and synchronize on that buffer.

commit e16b6a9a905483b60c70412d668f8e9cb66ffca5
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Wed Jun 26 10:00:06 2024 +0300

    livesync: Use `let-else` in a few more places

commit d996fa03bff6d24a335ff909bab3f2dea3305798
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Fri Jun 21 13:46:03 2024 +0300

    livesync: Allow queueing up to latency buffers
    
    This was already reported by the latency query, and not doing this would
    require to always put a queue before livesync.
Edited by Sebastian Dröge

Merge request reports