forked from emscripten-core/emscripten
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix automatic run of interactive web audio tests.
Audio contexts cannot start until human interacts with the page, e.g. by clicking a button. Therefore interactive audioworklet tests require user to press a button. However, after clicking a button, all later interactive tests will have the audio context access already unlocked, so user does not need to click a button on each test when running multiple audio worklet tests. In such scenario, there was a bug that nothing played back from speakers, because the audio worklet was not connected to output until user clicks a button. But since this button click was not needed, the test would pass without actually playing back any audio.
- Loading branch information
Showing
3 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters