Comparing version 0.2.3 to 0.2.4
@@ -62,4 +62,4 @@ | ||
this.emit( 'format', { | ||
channels: this.header.channels, | ||
sampleRate: this.header.rate, | ||
channels: this.channels, | ||
sampleRate: this.rate, | ||
bitDepth: 16, | ||
@@ -74,3 +74,3 @@ float: false, | ||
this.encoder = new OpusEncoder( this.header.rate, this.header.channels ); | ||
this.encoder = new OpusEncoder( this.rate, this.channels ); | ||
}; | ||
@@ -77,0 +77,0 @@ |
{ | ||
"name": "node-opus", | ||
"description": "NodeJS native binding to OPUS", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"author": "Mikko Rantanen <jubjub@jubjubnest.net>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/Rantanen/node-opus", |
4726848