Skip to content

Fix samples counts#32

Merged
eshaz merged 4 commits into
masterfrom
ogg-sample-count
Oct 20, 2024
Merged

Fix samples counts#32
eshaz merged 4 commits into
masterfrom
ogg-sample-count

Conversation

@eshaz
Copy link
Copy Markdown
Owner

@eshaz eshaz commented Oct 20, 2024

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 Overcounting sample counts in ogg opus #31

Features

  • Add BigInt polyfill so Safari can calculate absoluteGranulePosition

@eshaz eshaz merged commit 8277dbe into master Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overcounting sample counts in ogg opus

1 participant