Permalink
Browse files

decoder: ocd

  • Loading branch information...
1 parent 91b2a20 commit d5140c2cebf81d8d75271c92911dc34e825b1e4e @TooTallNate committed Jan 27, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/decoder.js
View
@@ -102,6 +102,7 @@ Decoder.prototype._transform = function (packet, output, fn) {
var vb = this.vb;
var channels = this.channels;
var eos = !!packet.e_o_s;
+ if (eos) debug('got "eos" packet');
// TODO: async...
r = binding.vorbis_synthesis(vb, packet);
@@ -115,10 +116,6 @@ Decoder.prototype._transform = function (packet, output, fn) {
return fn(new Error('vorbis_synthesis_blockin() failed: ' + r));
}
- if (eos) {
- debug('got "eos" packet');
- }
-
pcmout();
}

0 comments on commit d5140c2

Please sign in to comment.