Output trimming for future BYOB
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.3k
- Forks
- 194
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
BYOB is blocked on having read-only buffers, tracked in https://github.com/WICG/reducing-memory-copies/issues/1. This issue adds a consideration for when that is eventually resolved.
The request from audio industry pros is for an ability to say "when you write your output to my buffer, please skip over X bytes and stop writing after Y bytes". The use case is for codecs that are known to produce throw some initial throw-away outputs, like opus and mp3.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files, tests, or entry points are identified in the issue. Start by reading the linked reducing-memory-copies issue and the WebCodecs proposal; done would require resolving the future BYOB dependency and defining the requested output-buffer behavior for skipped and limited bytes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100