Skip to content

Audio: allow next(), disallow seek() #563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 17, 2025
Merged

Conversation

NicolasHug
Copy link
Member

@NicolasHug NicolasHug commented Mar 14, 2025

This PR makes some minor changes to the core audio APIs:

  • get_next_frame() is now allowed. It is needed to create our audio reference files (more on that in another PR)
  • seek_to_pts() is disallowed. The only pts that we should allow to seek to is IN64_MIN. It's simpler to just disallow seeking entirely.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 14, 2025
@NicolasHug NicolasHug merged commit 64919ba into pytorch:main Mar 17, 2025
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants