这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@hoch
Copy link
Member

@hoch hoch commented Mar 11, 2021

Fixes #2095.

This replaces all instances of "queue a task" with "queue a media element task" to clarify the task source. See #2095 (comment).


Preview | Diff

@hoch hoch requested a review from padenot March 11, 2021 19:33
Copy link
Member

@padenot padenot left a comment

Choose a reason for hiding this comment

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

This doesn't work, because a media element task source is a property of a media element, and we don't have a media element:

Each media element has a unique media element event task source.

here: https://html.spec.whatwg.org/multipage/media.html#media-element-event-task-source

@hoch
Copy link
Member Author

hoch commented Mar 23, 2021

We can easily do "Each BaseAudioContext has a unique media element event task source."

@hoch hoch requested a review from padenot March 23, 2021 18:14
@hoch
Copy link
Member Author

hoch commented Mar 24, 2021

@padenot Here's my reasoning behind this change:
#2095 (comment)

I don't think we want to create a new BaseAudioContext Task Source just for this reason.

@hoch
Copy link
Member Author

hoch commented Mar 26, 2021

@padenot Is there anything else needs to be done here?

Copy link
Member

@padenot padenot left a comment

Choose a reason for hiding this comment

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

No, looks good, thanks.

@hoch
Copy link
Member Author

hoch commented Mar 29, 2021

Thanks for the review, @padenot!

@hoch hoch merged commit c535a40 into WebAudio:main Mar 29, 2021
@hoch hoch deleted the 2095-task-source branch September 8, 2021 17:05
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.

Specify which task source is used

2 participants