[Webkit-unassigned] [Bug 46286] Add AudioGainNode files
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 28 10:26:51 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=46286
--- Comment #4 from Kenneth Russell <kbr at google.com> 2010-09-28 10:26:50 PST ---
(From update of attachment 68731)
View in context: https://bugs.webkit.org/attachment.cgi?id=68731&action=review
Basically looks good. Couple of questions. Also, I'm pretty sure m_isInitialized in AudioNode needs to be made volatile, since it's tested out from under the cover of the lock in some places.
> WebCore/webaudio/AudioGainNode.h:52
> + virtual void process(size_t /*framesToProcess*/);
I'm not sure the commented-out argument name is WebKit style. Since the name is significant it's probably worth just using it.
> WebCore/webaudio/AudioGainNode.h:62
> + void setGain(PassRefPtr<AudioGain> gain) { m_gain = gain; }
Since the gain attribute in the IDL is readonly, and m_gain is initialized in the constructor, does setGain need to be exposed at all?
> WebCore/webaudio/AudioGainNode.idl:34
> + readonly attribute AudioGain gain;
The Web Audio API doesn't say this attribute is readonly.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list