Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(editor): only publish seek fill blocks written from their start
Richie McIlroye001a25799ca
diff --git a/crates/editor/src/audio.rs b/crates/editor/src/audio.rsindex bcf39c337..1af9deaf4 100644--- a/crates/editor/src/audio.rs+++ b/crates/editor/src/audio.rs@@ -3376,7 +3376,10 @@ impl SeekFill {if count == 0 {return !finished;}- if let Some((filled, claimed_end)) = timeline.claim_for_fill(block, self.write_pos) {+ let claim = (self.write_pos == block * timeline.block_samples)+ .then(|| timeline.claim_for_fill(block, self.write_pos))+ .flatten();+ if let Some((filled, claimed_end)) = claim {count = count.min(claimed_end - self.write_pos);for (offset, sample) in self.pending[..count].iter().enumerate() {timeline.samples[self.write_pos + offset]