[Webkit-unassigned] [Bug 45009] Add AudioDestinationNode files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 9 14:42:05 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45009


Kenneth Russell <kbr at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #66145|review?                     |review-
               Flag|                            |




--- Comment #3 from Kenneth Russell <kbr at google.com>  2010-09-09 14:42:05 PST ---
(From update of attachment 66145)
View in context: https://bugs.webkit.org/attachment.cgi?id=66145&action=prettypatch

Generally looks fine; r- because of an inconsistency in the publicly visible attributes. Also a couple of minor suggestions.

> WebCore/webaudio/AudioDestinationNode.cpp:50
> +    initialize();
I certainly hope that AudioNode initializes the m_isInitialized flag to false in its constructor. It would be simpler if AudioNode were landed before this class which depends on it.

> WebCore/webaudio/AudioDestinationNode.cpp:71
> +    m_isInitialized = true;
I would suggest just calling AudioNode::initialize() here and making m_isInitialized private in AudioNode (assuming that's where it's declared).

> WebCore/webaudio/AudioDestinationNode.cpp:81
> +    m_isInitialized = false;
Same comment, but about calling AudioNode::uninitialize().

> WebCore/webaudio/AudioDestinationNode.idl:34
> +        readonly attribute short numberOfChannels;
This attribute isn't currently in the Web Audio spec.

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