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 4.0.2 to 4.0.3

6

index.js

@@ -434,4 +434,8 @@ /**

else {
if (toOffset[1]) {
toOffset[0] += 1
toOffset[1] = 0
}
let offset = from - fromOffset[1]
for (let i = fromOffset[0], l = toOffset[0]+1; i < l; i++) {
for (let i = fromOffset[0], l = toOffset[0]; i < l; i++) {
let buf = this.buffers[i]

@@ -438,0 +442,0 @@ let res = fn.call(this, buf, i, offset, this.buffers, this)

2

package.json
{
"name": "audio-buffer-list",
"version": "4.0.2",
"version": "4.0.3",
"description": "Data structure for sequence of AudioBuffers",

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

@@ -93,3 +93,3 @@ # audio-buffer-list [![Build Status](https://travis-ci.org/audiojs/audio-buffer-list.svg?branch=master)](https://travis-ci.org/audiojs/audio-buffer-list) [![unstable](https://img.shields.io/badge/stability-unstable-green.svg)](http://github.com/badges/stability-badges) [![Greenkeeper badge](https://badges.greenkeeper.io/audiojs/audio-buffer-list.svg)](https://greenkeeper.io/)

Map buffers of subpart of the list, defined by `from` and `to` arguments. Modifies list in-place.
Map buffers of part of the list, defined by `from` and `to` arguments. Modifies list in-place.

@@ -96,0 +96,0 @@ Mapper function has signature `(buffer, idx, offset) => buffer`. `buffer` is an audio buffer to process, `idx` is buffer number, and `offset` is first buffer sample absolute offset. If mapper returns `undefined`, the buffer is preserved. If mapper returns `null`, the buffer is discarded. If mapper returns `false`, iterations are stopped.

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