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

Work directly with the samples when loading QOA files #368

Merged
merged 1 commit into from
May 18, 2023

Conversation

JD557
Copy link
Owner

@JD557 JD557 commented May 18, 2023

The QOA reader was building an AudioClip out of multiple clips in order to support variable sample rates.

The spec actually guarantee that this will never happen on non-streaming files, so by just storing the samples directly and building the clip on the end we get a nice performance boost.
Otherwise, loading large audio files (~1 minute) was quite slow.

@JD557 JD557 added this to the 0.5.2 milestone May 18, 2023
@JD557 JD557 merged commit 49c5a92 into master May 18, 2023
@JD557 JD557 deleted the qoa-performance-fixes branch May 18, 2023 19:43
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