-
Notifications
You must be signed in to change notification settings - Fork 146
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
Make probing async #97
Comments
👍 seems like this has been the cause of a lot of streaming related issues aurora has received |
Definitely the source of some headaches, and it'd be great to see this 'fixed'. However, I can't think of a way that this would not be a breaking change to users. Do we want |
I don't think the API would need to change at all, it would work just like the decoders do when there isn't enough data. When trying to read from a stream and there isn't enough data, an |
Makes sense! Is this commit 7e59806 related to this? |
Kinda. I was going to mention that. That commit ignores errors while probing and goes to the next format instead of erroring completely. |
Quick question : This should fix the no sound on small mp3 files ? |
Basically, allow reading more data than just the first chunk we received. This is especially important for MP3, and in Node.js where the default chunk size is smaller.
See audiocogs/mp3.js#12
The text was updated successfully, but these errors were encountered: