New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

speaker

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

speaker - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

test/test.js

7

History.md

@@ -0,1 +1,8 @@

0.0.5 / 2012-11-16
==================
- add initial tests (uses the "dummy" output module)
- add "float" (32-bit and 64-bit) output support
- ensure only one "close" event
0.0.4 / 2012-11-04

@@ -2,0 +9,0 @@ ==================

13

index.js

@@ -118,2 +118,6 @@

}
if (null != opts.float) {
debug('setting "float"', opts.float);
this.float = opts.float;
}
if (null != opts.signed) {

@@ -215,9 +219,12 @@ debug('setting "signed"', opts.signed);

debug('close()');
if (this._closed) return;
// TODO: async maybe?
binding.close(this.audio_handle);
if (this.audio_handle) {
// TODO: async maybe?
binding.close(this.audio_handle);
this.audio_handle = null;
}
this.emit('close');
this.audio_handle = null;
this._closed = true;
};

@@ -20,3 +20,3 @@ {

],
"version": "0.0.4",
"version": "0.0.5",
"author": "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)",

@@ -29,3 +29,3 @@ "repository": {

"scripts": {
"test": "mocha --reporter spec"
"test": "node-gyp rebuild --mpg123-backend=dummy && mocha --reporter spec"
},

@@ -36,3 +36,6 @@ "dependencies": {

"readable-stream": "~0.0.3"
},
"devDependencies": {
"mocha": "*"
}
}

Sorry, the diff of this file is not supported yet

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