jpemartins / speex.js

Speex codec in Javascript. Mirror from https://code.ua.pt/projects/speex-js
214 stars 63 forks source link

Will speex.js support ultra-wideband mode? #14

Open dhermyt opened 10 years ago

dhermyt commented 10 years ago

Hi,

I am trying to decode audio encoded with native speex library in ultra-wideband mode, but it always ends up with exception "More than two wideband layers found. The stream is corrupted". I also saw your answer in another discussion that ultra-wideband is not supported in speex.js. Will it ever be supported?

jpemartins commented 10 years ago

I think it shouldn't take a lot of effort to support it. The compiled version already supports it, it's just a matter of the wrapper to handle it. Whenever i have time I will work on it or, if you feel like you could send a PR :-)

Cheers