Changeset 268841 in webkit
- Timestamp:
- Oct 21, 2020, 3:38:09 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Modules/webaudio/AudioSummingJunction.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r268826 r268841 1 2020-10-21 Chris Dumez <cdumez@apple.com> 2 3 Address post-landing review feedback from Sam Weinig for r268820. 4 5 * Modules/webaudio/AudioSummingJunction.cpp: 6 (WebCore::AudioSummingJunction::maximumNumberOfChannels const): 7 1 8 2020-10-21 Chris Dumez <cdumez@apple.com> 2 9 -
trunk/Source/WebCore/Modules/webaudio/AudioSummingJunction.cpp
r268820 r268841 95 95 { 96 96 unsigned maxChannels = 0; 97 std::for_each(m_outputs.begin(), m_outputs.end(), [&](auto* output) {97 for (auto* output : m_outputs) { 98 98 // Use output()->numberOfChannels() instead of output->bus()->numberOfChannels(), 99 99 // because the calling of AudioNodeOutput::bus() is not safe here. 100 100 maxChannels = std::max(maxChannels, output->numberOfChannels()); 101 } );101 } 102 102 return maxChannels; 103 103 }
Note:
See TracChangeset
for help on using the changeset viewer.