Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

audio-buffer-from

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audio-buffer-from - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -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",

@@ -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()
})
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc