Simplify audio resampling code.
Created attachment 415474 [details] Patch
Comment on attachment 415474 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=415474&action=review > Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.cpp:124 > + if (AudioSourceProvider* provider = mediaElement().audioSourceProvider()) I would've used auto here. And I noticed you did use it in a similar case below. > Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.cpp:172 > + if (m_multiChannelResampler.get()) { I don’t think "get()" is needed here.
Created attachment 415475 [details] Patch
Committed r270468: <https://trac.webkit.org/changeset/270468> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415475 [details].
<rdar://problem/72000044>