Socket
Socket
Sign inDemoInstall

audio-buffer-list

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audio-buffer-list - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

10

index.js

@@ -238,3 +238,3 @@ /**

if (start == end) {
return new AudioBufferList()
return new AudioBufferList(0, this.numberOfChannels)
}

@@ -257,3 +257,3 @@

return new AudioBufferList(buffers)
return new AudioBufferList(buffers, this.numberOfChannels)
}

@@ -263,3 +263,3 @@

AudioBufferList.prototype.clone = function clone (start, end) {
var i = 0, copy = new AudioBufferList(), sublist = this.slice(start, end)
var i = 0, copy = new AudioBufferList(0, this.numberOfChannels), sublist = this.slice(start, end)

@@ -352,3 +352,3 @@ for (; i < sublist.buffers.length; i++)

let deleted = this.buffers.splice(offsetLeft[0], offsetRight[0] - offsetLeft[0])
deleted = new AudioBufferList(deleted)
deleted = new AudioBufferList(deleted, this.numberOfChannels)

@@ -418,3 +418,3 @@ this.length -= deleted.length

return new AudioBufferList(before.concat(middle).concat(after))
return new AudioBufferList(before.concat(middle).concat(after), this.numberOfChannels)
}

@@ -421,0 +421,0 @@

{
"name": "audio-buffer-list",
"version": "2.0.3",
"version": "2.0.4",
"description": "Data structure for sequence of AudioBuffers",

@@ -5,0 +5,0 @@ "main": "index.js",

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