Skip to content

Fix WebAudio/web-audio-api-v2#13: User-selectable render size#2369

Closed
rtoy wants to merge 2 commits into
WebAudio:mainfrom
rtoy:v2-13-user-selectable-render-size
Closed

Fix WebAudio/web-audio-api-v2#13: User-selectable render size#2369
rtoy wants to merge 2 commits into
WebAudio:mainfrom
rtoy:v2-13-user-selectable-render-size

Conversation

@rtoy

@rtoy rtoy commented Jul 13, 2021

Copy link
Copy Markdown
Member

@rtoy rtoy requested review from hoch, padenot and svgeesus July 13, 2021 22:37
@rtoy rtoy marked this pull request as draft July 13, 2021 22:37
@rtoy

rtoy commented Jul 13, 2021

Copy link
Copy Markdown
Member Author

This is a draft of the changes for user-selectable render size.

I'm kind of stuck right now because I don't know how to handle adding the new renderSizeHint attribute to the AudioContextOptions dictionary in a way that bikeshed can handle and also shows that we're adding it.

Also see speced/bikeshed#2109

@hoch hoch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

IMO using string literal comes with many benefits, but we can update it with a follow-up PR.

Comment thread index.bs
Changes Since Recommendation of 17 Jun 2021
</h3>
* <a href="https://github.com/WebAudio/web-audio-api-v2/issue/13">V2 Issue 13</a>: User-selectable render size
<div id="change-list-a13">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just curious: what's this div for?

Comment thread index.bs
</span>
Categories for user-selectable render size.
<div class="amendment-buttons">
Buttons here

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I guess this "Buttons here" text will be replaced by scripts?

Comment thread index.bs
let text = "";
if (changeNum > 1) {
// Add "previous" button, only if there is a previous change.
text += "<button onclick='location.href=";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: I think it's better to use string literal than concatenation.

Comment thread index.bs

if (document.getElementById(changeID + "-" + (changeNum + 1))) {
// Add "next" button only if there is a next change
text += "<button onclick='location.href=";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ditto.

@hoch

hoch commented Aug 25, 2021

Copy link
Copy Markdown
Member

I am not sure if someone can take over this draft. If not, we should close and revisit later.

@hoch

hoch commented Feb 14, 2022

Copy link
Copy Markdown
Member

Closing this in favor of #2469.

@hoch hoch closed this Feb 14, 2022
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.

2 participants