Repository navigation
Fix #250 (Desugaring) by using constructors instead of context factory methods - #662
joeberkovitz wants to merge 3 commits into
Conversation
…m a BaseAudioContext or AudioContext.
|
If we're adding constructors, can we actually make the constructors take more arguments than just the context? Like This requires more design work, but since we're adding something completely new, I think it makes sense to do it now (if we decide to do this) rather than later. |
|
@rtoy I agree with the idea, so we should start a discussion thread of it. I would rather want to throw a property bag. var hpf = new BiquadFilter(context, {
type: 'highpass',
frequency: 2500
}); |
|
I actually began to do this but felt it would begin to open up a large |
|
Note this PR fixes issue #250 |
|
I agree with the property bag idea, with mandatory first parameter of audio context and second parameter being a dictionary allowing customization. |
|
Be sure to account for change to playbackCategory re #651 |
|
This PR needs a bunch of work to incorporate the property bag concept. |
No description provided.