[Webkit-unassigned] [Bug 34452] Initial patch for audio engine: AudioBus and helper classes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 5 11:41:48 PST 2010


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





--- Comment #11 from Chris Rogers <crogers at google.com>  2010-02-05 11:41:47 PST ---
Overkill?  I guess that's a matter of opinion.

What's better?

floatBuffer.zero();

or

memset(floatBuffer.data(), 0, sizeof(float) * floatBuffer.size());

Then, you have to remember whether it's sizeof(float) or sizeof(double)
depending on whether it's a float of double array...

This method is used a fair bit throughout the engine code, and I think it much
better to have a concise method for this.

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