audio-buffer-list
Advanced tools
Comparing version 2.0.1 to 2.0.2
19
index.js
@@ -113,15 +113,14 @@ /** | ||
if (isAudioBuffer(buf)) { | ||
this._appendBuffer(buf) | ||
} | ||
else if (Array.isArray(buf)) { | ||
for (; i < buf.length; i++) { | ||
// unwrap argument into individual BufferLists | ||
if (buf instanceof AudioBufferList) { | ||
this.append(buf.buffers) | ||
} | ||
else if (isAudioBuffer(buf)) { | ||
this._appendBuffer(buf) | ||
} | ||
else if (Array.isArray(buf)) { | ||
for (var l = buf.length; i < l; i++) { | ||
this.append(buf[i]) | ||
} | ||
} | ||
// unwrap argument into individual BufferLists | ||
else if (buf instanceof AudioBufferList) { | ||
for (; i < buf.buffers.length; i++) | ||
this.append(buf.buffers[i]) | ||
} | ||
//create AudioBuffer from arg | ||
@@ -128,0 +127,0 @@ else if (buf != null) { |
{ | ||
"name": "audio-buffer-list", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Data structure for sequence of AudioBuffers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22490
452