[Webkit-unassigned] [Bug 270519] `BaseAudioContext::currentSampleFrame` shows up in Crash Logs frequently

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 5 08:33:05 PST 2024


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

--- Comment #1 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
This is function definition: https://searchfox.org/wubkat/rev/bc31443b84ccca0f8fb615b8247c55f600b7dee1/Source/WebCore/Modules/webaudio/BaseAudioContext.h#116

size_t currentSampleFrame() const { return destination().currentSampleFrame(); }

where 'destination()' is virtual:

virtual const AudioDestinationNode& destination() const = 0;

and 'currentSampleFrame()' is calling:

https://searchfox.org/wubkat/rev/bc31443b84ccca0f8fb615b8247c55f600b7dee1/Source/WebCore/Modules/webaudio/AudioDestinationNode.h#46

size_t currentSampleFrame() const { return m_currentSampleFrame; }

and where `m_currentSampleFrame` is:

std::atomic<size_t> m_currentSampleFrame { 0 };

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240305/21911311/attachment.htm>


More information about the webkit-unassigned mailing list