Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes when seeking in an MP3 file #303

Merged
merged 5 commits into from
Sep 6, 2020

Conversation

d-a-v
Copy link
Contributor

@d-a-v d-a-v commented Sep 6, 2020

This PR:

  • add desync() for user to call when randomly seeking in the input file
  • try to fix corner cases leading to exceptions when seeking (memmove(size=-1))

This PR also adds a new constructor for preallocated structures, intended to be tried with IRAM memory area.
That part can be pulled out and made into another PR.

Copy link
Owner

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Making it smaller pre-allocs can definitely make it easier to fit in any fragmentation or extra spaces available...

@earlephilhower earlephilhower merged commit 2fb8d88 into earlephilhower:master Sep 6, 2020
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.

2 participants