Skip to content

Conversation

rtoy
Copy link
Member

@rtoy rtoy commented Jul 13, 2021

@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
Copy link
Member Author

rtoy commented Jul 13, 2021

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

Copy link
Member

@hoch hoch left a comment

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.

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
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?

</span>
Categories for user-selectable render size.
<div class="amendment-buttons">
Buttons here
Copy link
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?

let text = "";
if (changeNum > 1) {
// Add "previous" button, only if there is a previous change.
text += "<button onclick='location.href=";
Copy link
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.


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

Choose a reason for hiding this comment

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

Ditto.

@hoch
Copy link
Member

hoch commented Aug 25, 2021

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

@hoch
Copy link
Member

hoch commented Feb 14, 2022

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