- New package structure:
- dist file is "./dist/imaadpcm.js", a UMD served as "main"
- ES6 source is "./index.js", served as "module"
- Fix: output array in correct size
- Fix: encode() should always return a even number of samples
- No clicks or time changes when compressing/decompressing
- Fix: Range error bug when compressing
- Fix output array size on encode()
- Removed dev files from the dist
- Use typed arrays for input and output
- Add TypeScript declaration file
- Add Closure Compiler externs file
- Allow better use of this lib as a dependency:
- package.json refactored with bundlers and ES6 envs in mind
- ES6 module.