We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Files less BUFFER_SIZE not playing. That code
while (this._stream.available(BUFFER_SIZE)) { Ogg.HEAPU8.set(this._stream.readBuffer(BUFFER_SIZE).data, this.buf); Ogg._AVOggRead(this.ogg, this.buf, BUFFER_SIZE, this.callback); }
To get it work I've changed it to
do { var toRead = BUFFER_SIZE<=this._stream.list.availableBytes?BUFFER_SIZE:this._stream.list.availableBytes; Ogg.HEAPU8.set(this._stream.readBuffer(toRead).data, this.buf); Ogg._AVOggRead(this.ogg, this.buf, toRead, this.callback); } while (this._stream.available(BUFFER_SIZE))
I've done it by guess, and without clear understanding what i'm doing.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Files less BUFFER_SIZE not playing. That code
To get it work I've changed it to
I've done it by guess, and without clear understanding what i'm doing.
The text was updated successfully, but these errors were encountered: