c# - “Invalid mode encountered: 9” when decoding with NSpeex -
here code:
public byte[] decode(byte[] encodeddata) { short[] decodedframe = new short[160]; // should same number of samples on capturing side int decoderbytes = decoder.decode(encodeddata, 0, encodeddata.length, decodedframe, 0, false); }
when call method:
byte[] decodedbuffer = this.decode(file.readallbytes(@"c:\users\admin\desktop\123.ogg"));
i “invalid mode encountered: 9” error.
how fix it? did wrong?
you can try https://sites.google.com/site/cobnut3d/
there examples c #
Comments
Post a Comment