Skip to content

Delay quantizes silence to whole frames - #944

Open
kapok-4o wants to merge 1 commit into
RustAudio:masterfrom
kapok-4o:fix/adapter-9
Open

kapok-4o wants to merge 1 commit into
RustAudio:masterfrom
kapok-4o:fix/adapter-9

Conversation

@kapok-4o

Copy link
Copy Markdown

Computing the delay in interleaved samples could insert half a stereo frame and swap the channel positions of the following audio.

Round the requested delay down to whole frames before counting samples. Expose the silence as a frame-aligned span and use the resulting delay for duration reporting and seeking. The regressions cover a sub-frame stereo delay and seeking within and past a quantized silent frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant