Skip to content

Add configurable block size via set_block_size - #18

Open
alucryd wants to merge 1 commit into
Remade-With-Rust:mainfrom
alucryd:feat/block-size
Open

alucryd wants to merge 1 commit into
Remade-With-Rust:mainfrom
alucryd:feat/block-size

Conversation

@alucryd

@alucryd alucryd commented Oct 24, 2026

Copy link
Copy Markdown

Allow framing a stream at any FLAC-legal block size (16..=65535) instead of the fixed 4096. The new Encoder::set_block_size method validates the input and returns BadBlockSize for unsupported values. Window caching is generalized so that any non-default block size builds its tapers once and reuses them across reset cycles.

Allow framing a stream at any FLAC-legal block size (16..=65535)
instead of the fixed 4096. The new Encoder::set_block_size method
validates the input and returns BadBlockSize for unsupported values.
Window caching is generalized so that any non-default block size
builds its tapers once and reuses them across reset cycles.
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