Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some graph API changes #56

Merged
merged 6 commits into from Jun 22, 2018
Merged

Some graph API changes #56

merged 6 commits into from Jun 22, 2018

Conversation

@ferjm
Copy link
Member

ferjm commented Jun 22, 2018

I identified these needs while working on the DOM bindings.

I am tempted to rename AudioGraph to AudioContext everywhere. wdyt?

@ferjm ferjm requested a review from Manishearth Jun 22, 2018
@ferjm
Copy link
Member Author

ferjm commented Jun 22, 2018

// XXX Get this from AudioContextOptions.
let sample_rate = 44100.;
/// Constructs a new audio context.
pub fn new(options: Option<AudioGraphOptions>) -> Self {

This comment has been minimized.

@Manishearth

Manishearth Jun 22, 2018

Member

I think just having an AudioGraphOptions argument here and asking people to pass Default is fine. Either way works.

@Manishearth
Copy link
Member

Manishearth commented Jun 22, 2018

Yeah naming it to context is fine. That way we can call GraphImpl AudioGraph

@Manishearth Manishearth merged commit 275056e into servo:master Jun 22, 2018
@Manishearth
Copy link
Member

Manishearth commented Jun 22, 2018

merging, fix the options and context thing if you want 😄

@ferjm ferjm deleted the ferjm:audiocontextoptions branch Jun 25, 2018
@ferjm ferjm mentioned this pull request Jun 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.