Skip to content

Conversation

@mjwilson-google
Copy link
Contributor

@mjwilson-google mjwilson-google commented Nov 25, 2025

Fixes #2649.

As decided at TPAC 2025, expand the required sample rate range from 3000 to 768000 Hz inclusive, and require that implementations reject rates outside this range.


Preview | Diff

@mjwilson-google
Copy link
Contributor Author

WPT update is in progress here: https://crrev.com/c/7204605

@mjwilson-google mjwilson-google requested a review from hoch December 4, 2025 21:39
aarongable pushed a commit to chromium/chromium that referenced this pull request Dec 8, 2025
The specification is being updated to put different requirements on the
sample rate in WebAudio. Update the WPT to reflect this.

See WebAudio/web-audio-api#2657

Change-Id: Ic99a306da2cf625b52168c4143c0a3320aef1087
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7204605
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1555679}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 8, 2025
The specification is being updated to put different requirements on the
sample rate in WebAudio. Update the WPT to reflect this.

See WebAudio/web-audio-api#2657

Change-Id: Ic99a306da2cf625b52168c4143c0a3320aef1087
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7204605
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1555679}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 8, 2025
The specification is being updated to put different requirements on the
sample rate in WebAudio. Update the WPT to reflect this.

See WebAudio/web-audio-api#2657

Change-Id: Ic99a306da2cf625b52168c4143c0a3320aef1087
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7204605
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1555679}
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.

Accepted sample rates for AudioContext are underspecified

1 participant