Skip to content

WavDecoder: add support for more formats#1460

Merged
NicolasHug merged 2 commits into
meta-pytorch:mainfrom
NicolasHug:wavvv
May 29, 2026
Merged

WavDecoder: add support for more formats#1460
NicolasHug merged 2 commits into
meta-pytorch:mainfrom
NicolasHug:wavvv

Conversation

@NicolasHug
Copy link
Copy Markdown
Contributor

u8, s24, s16, float32 and float64.

Benchmarks look acceptable, I'll worry about optimizing things later if need be.

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented May 29, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/meta-pytorch/torchcodec/1460

Note: Links to docs will display an error until the docs builds have been completed.

❗ 2 Active SEVs

There are 2 currently active SEVs. If your PR is affected, please view them below:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 29, 2026
validateUint64ToStreampos(byteOffset, "byteOffset"),
std::ios::beg);

// We need to align buffer size to actual boundaries of samples to avoid
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this and the other bit just below just got copy/paste within the else{} branch.

@NicolasHug
Copy link
Copy Markdown
Contributor Author

It builds, so I'll merge to unblock myself and address any test failure later. CI is completely broken right now due to external issue.

@NicolasHug NicolasHug merged commit 2b6a4e8 into meta-pytorch:main May 29, 2026
28 of 46 checks passed
@NicolasHug NicolasHug deleted the wavvv branch May 29, 2026 14:35
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.

1 participant