audio-buffer-list
Advanced tools
Comparing version 1.3.3 to 1.3.4
11
index.js
@@ -414,8 +414,17 @@ /** | ||
middle._bufs = middle._bufs.map(fn) | ||
let maxChannels = 0 | ||
middle._bufs = middle._bufs.map((buf, idx) => { | ||
buf = fn.call(this, buf, idx, this._bufs, this) | ||
if (buf.numberOfChannels > maxChannels) maxChannels = buf.numberOfChannels | ||
return buf | ||
}) | ||
if (before) middle = before.append(middle) | ||
if (after) middle = middle.append(after) | ||
if (!before && !after) { | ||
this.numberOfChannels = maxChannels | ||
} | ||
return middle | ||
} | ||
{ | ||
"name": "audio-buffer-list", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"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
18712
388