Releases: eshaz/codec-parser
Releases · eshaz/codec-parser
2.5.0
What's Changed
Fixes
- Trim the ending
samples
andtotalSamples
for Ogg contained codecs based onabsoluteGranulePosition
when encountering the last Ogg page. - Trim out the beginning
preSkip
samples in Ogg Opus. - Resolves #31
Features
- Add BigInt polyfill so Safari can calculate
absoluteGranulePosition
Full Changelog: 2.4.3...2.5.0
2.4.3
What's Changed
Full Changelog: 2.4.2...2.4.3
Fixes
- Allow for Vorbis mode count miss-match. See eshaz/wasm-audio-decoders#86
- Return
0
samples on first Vorbis frame per specification.Data is not returned from the first frame; it must be used to ’prime’ the decode engine. The encoder accounts for this priming when calculating PCM offsets; after the first frame, the proper PCM output offset is ’0’ (as no data has been returned yet). [1]
2.4.2
2.4.1
2.4.0
Full Changelog: 2.3.0...2.4.0
Features
- Export string constants to help with minifier property mangling
2.3.0
2.2.1
Full Changelog: 2.2.0...2.2.1
- Update dependencies
- Add
sideEffects: false
topackage.json
2.2.0
Full Changelog: 2.1.0...2.2.0
Features
- Add
enableFrameCRC32
option, enabled by default, can be set to false to prevent CRC32 hash from being calculated for each frame. This will save a marginal amount of execution time if this information is not needed.
2.1.0
What's Changed
- Added basic TypeScript typings by @JohnWeisz in #23
New Contributors
- @JohnWeisz made their first contribution in #23
Full Changelog: 2.0.2...2.1.0
2.0.2
Full Changelog: 2.0.1...2.0.2
Fixes
onCodecUpdate()
should be called only when there is codec information available.