Skip to content

Releases: eshaz/codec-parser

2.5.0

20 Oct 04:12
8277dbe
Compare
Choose a tag to compare

What's Changed

Fixes

  • Trim the ending samples and totalSamples for Ogg contained codecs based on absoluteGranulePosition 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

07 Aug 01:59
3ad0384
Compare
Choose a tag to compare

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

09 Jun 22:41
c0cdff1
Compare
Choose a tag to compare

What's Changed

  • Vorbis Comment / Setup packet parsing by @eshaz in #26

Full Changelog: 2.4.1...2.4.2

2.4.1

08 Jun 04:14
Compare
Choose a tag to compare

Full Changelog: 2.4.0...2.4.1

Fixes

  • Ogg continued packet data was sometimes not being prepended.

2.4.0

22 Apr 18:53
Compare
Choose a tag to compare

Full Changelog: 2.3.0...2.4.0

Features

  • Export string constants to help with minifier property mangling

2.3.0

01 Apr 22:18
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.2.1...2.3.0

Features

  • Add onCodecHeader callback that is called when the header is first parsed.

Refactor

  • Reduce minified file size

2.2.1

23 Mar 23:12
Compare
Choose a tag to compare

Full Changelog: 2.2.0...2.2.1

  • Update dependencies
  • Add sideEffects: false to package.json

2.2.0

23 Jul 22:58
Compare
Choose a tag to compare

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

25 Jun 23:55
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.2...2.1.0

2.0.2

29 May 01:36
Compare
Choose a tag to compare

Full Changelog: 2.0.1...2.0.2

Fixes

  • onCodecUpdate() should be called only when there is codec information available.