audio-buffer-from
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -60,3 +60,3 @@ /** | ||
if (source._channelData) { | ||
data = source._channelData | ||
data = source._channelData.slice(0, channels) | ||
} | ||
@@ -63,0 +63,0 @@ else { |
{ | ||
"name": "audio-buffer-from", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Create AudioBuffer from any source", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
13
test.js
@@ -347,1 +347,14 @@ 'use strict' | ||
}) | ||
t('from audiobuffer strip channels', t => { | ||
let a = createBuffer(1, 3) | ||
let b = createBuffer(a, 2) | ||
t.equal(a.numberOfChannels, 3) | ||
t.equal(b.numberOfChannels, 2) | ||
t.equal(b.length, 1) | ||
t.end() | ||
}) |
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
18437
402