Skip to content
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

Implement state transition for AudioContext.setSinkId #40924

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jul 7, 2023

This CL updates the implementation of AudioContext to follow the
spec algorithm of the state transition from setSinkid() method.

https://webaudio.github.io/web-audio-api/#dom-audiocontext-setsinkid-domstring-or-audiosinkoptions-sinkid

The relevant web test is also updated and the failing expectation file
is removed. The actual audio output on MacOS is tested by:
https://googlechromelabs.github.io/web-audio-samples/tests/setsinkid/

Bug: 1439947
Change-Id: I56d8c89272d66b08502203a846c65231a72e8549
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4670272
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Alvin Ji <alvinji@chromium.org>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1168371}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4670272 branch 2 times, most recently from 688492e to 7886334 Compare July 7, 2023 23:19
This CL updates the implementation of AudioContext to follow the
spec algorithm of the state transition from setSinkid() method.

https://webaudio.github.io/web-audio-api/#dom-audiocontext-setsinkid-domstring-or-audiosinkoptions-sinkid

The relevant web test is also updated and the failing expectation file
is removed. The actual audio output on MacOS is tested by:
https://googlechromelabs.github.io/web-audio-samples/tests/setsinkid/

Bug: 1439947
Change-Id: I56d8c89272d66b08502203a846c65231a72e8549
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4670272
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Alvin Ji <alvinji@chromium.org>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1168371}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants