-
Notifications
You must be signed in to change notification settings - Fork 45
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
5.1? #8
Comments
I tried it and the number of channels is detected correctly by aurora. The error preventing playback is: |
Sometimes there are multiple elements of the same type in the same frame of audio. We can't reuse the element objects in that case, since memory would be overwritten.
I have updated the resampler in aurora, and that error no longer occurs. Released in v0.4.8. However, that was not the only problem. We were reusing element objects in aac.js to save on allocations. However, it seems it is possible to have multiple instances of the same element type within the same frame, as demonstrated by this file. So as of 650d665 we no longer reuse the objects. This fixes the decoding problem. Released in v0.1.2. Unfortunately, some implementations of the web audio API (particularly in Chrome) doesn't seem to handle audio with more than 2 channels very well, so there is some stuttering sounds when playing the file still. It works better in Firefox though. |
@devongovett thanks |
i tried playing my 5.1 aac wrapped in mp4 container here http://audiocogs.org/codecs/aac/
did not work
is it a limitation of the player or decoder?
here is the link to the file
https://drive.google.com/file/d/0B14m-5S5eoNQdG5JT3ZwSzJRSjQ/view
The text was updated successfully, but these errors were encountered: