Skip to content

Support 'JUNK' data block in RIFF specification. - #16

Open
agi-zhi wants to merge 1 commit into
TooTallNate:masterfrom
agi-zhi:master
Open

Support 'JUNK' data block in RIFF specification.#16
agi-zhi wants to merge 1 commit into
TooTallNate:masterfrom
agi-zhi:master

Conversation

@agi-zhi

@agi-zhi agi-zhi commented Mar 19, 2016

Copy link
Copy Markdown

Some audio authoring tools still produce .wav files with 'JUNK' sections (a relic from CD-ROM days).

Comment thread lib/reader.js

Reader.prototype._onJUNK = function (chunk) {
var junkSize = chunk['readUInt32' + this.endianness](0);
this._bytes(junkSize, function() {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you switch this to _skipBytes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants