Skip to content

Fix #348 add AudioContext constructor dictionary with buffer hint - #651

Merged
billhofmann merged 8 commits into
gh-pagesfrom
348-buffering-for-power
Dec 3, 2015
Merged

billhofmann merged 8 commits into
gh-pagesfrom
348-buffering-for-power

Conversation

@billhofmann

Copy link
Copy Markdown
Contributor

add optional constructor argument for AudioContext that provides a dictionary that for now is used for buffer hint. This is maximally forward compatible, but might be too forward compatible :)

Comment thread index.html Outdated

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.

Space after ".".

@billhofmann

Copy link
Copy Markdown
Contributor Author

Well, they are initialization options. @padenot? Tell me what makes the most sense. We're not using a constructor argument like this elsewhere.

@joeberkovitz

Copy link
Copy Markdown

You will may want to wait to merge #662 since I cleaned up a lot of things to do with constructor declarations as part of the whole de-sugaring business, including AudioContext.

@billhofmann

Copy link
Copy Markdown
Contributor Author

OK. There’s still discussions on what this ought be called, so I’ll hold. Shall we discuss next Thursday?

From: Joe Berkovitz [mailto:[email protected]]
Sent: Friday, November 13, 2015 9:45 AM
To: WebAudio/web-audio-api
Cc: Hofmann, Bill
Subject: Re: [web-audio-api] Fix #348 add AudioContext constructor dictionary with buffer hint (#651)

You will may want to wait to merge #662https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_WebAudio_web-2Daudio-2Dapi_pull_662&d=CwMCaQ&c=lI8Zb6TzM3d1tX4iEu7bpg&r=qzKCNHFKJMzZBJ52at1DkA-_8TPxvcij-zS_VXs8c5A&m=7dwVYklUqYvk4nL32olW9b0tFK68iv3kLf3zWMr5Lbc&s=KxUKW4T1ngF-7OqofHAXzOcy1IfZrlhnEKDkpdPDojc&e= since I cleaned up a lot of things to do with constructor declarations as part of the whole de-sugaring business, including AudioContext.

—
Reply to this email directly or view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_WebAudio_web-2Daudio-2Dapi_pull_651-23issuecomment-2D156498575&d=CwMCaQ&c=lI8Zb6TzM3d1tX4iEu7bpg&r=qzKCNHFKJMzZBJ52at1DkA-_8TPxvcij-zS_VXs8c5A&m=7dwVYklUqYvk4nL32olW9b0tFK68iv3kLf3zWMr5Lbc&s=05D5WujJLde-ibNY_pewh42XATEuhDlkNh-0zUKSrg4&e=.

@billhofmann

Copy link
Copy Markdown
Contributor Author

Need to review post-Joe's desugaring changes

@billhofmann

Copy link
Copy Markdown
Contributor Author

only important thing is name of property, should be playbackCategory

@billhofmann

Copy link
Copy Markdown
Contributor Author

will merge after fixing conflicts

@billhofmann

Copy link
Copy Markdown
Contributor Author

Loving that merging.

billhofmann added a commit that referenced this pull request Dec 3, 2015
Fix #348 add AudioContext constructor dictionary with buffer hint
@billhofmann
billhofmann merged commit d1f7ebe into gh-pages Dec 3, 2015
@mjwilson-google
mjwilson-google deleted the 348-buffering-for-power branch October 29, 2026 22:49
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.

6 participants