dbieber / audiorecorder

AudioRecorder: a cross platform javascript utility for recording and playing audio in all major browsers
33 stars 14 forks source link

Decoded Array bigger than Orginal array #10

Open cracker0dks opened 9 years ago

cracker0dks commented 9 years ago

Thanks for the lib. When I do inArray>encode>decode>outArray I get an outArray wich is bigger than my inArray.

var d1 = Codec.encode(inArray); var outArray = Codec.decode(d1);

inArray.length = 2048 outArray.length = 2079

why and how can i fix this? Because of this reason i get legs in my voice chat. Thanks :)