Skip to content

Disable auto_detect_format to prevent memory growth - #61

Open
SamyAlderson wants to merge 1 commit into
m96-chan:mainfrom
SamyAlderson:fix/optimization-46-2099
Open

Disable auto_detect_format to prevent memory growth#61
SamyAlderson wants to merge 1 commit into
m96-chan:mainfrom
SamyAlderson:fix/optimization-46-2099

Conversation

@SamyAlderson

Copy link
Copy Markdown

This PR disables the auto_detect_format feature on the AudioConverter instance to prevent unbounded memory growth when the consumer is slower than the producer. This change should significantly reduce memory usage and potentially improve performance. I verified the fix by running the existing test suite and observing a marked reduction in memory usage in scenarios where the consumer is slower than the producer.

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