Changeset 202645 in webkit
- Timestamp:
- Jun 29, 2016 1:17:44 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r202641 r202645 1 2016-06-29 Ryan Haddad <ryanhaddad@apple.com> 2 3 Unreviewed, rolling out r202617. 4 5 The LayoutTest from this change crashes under GuardMalloc 6 7 Reverted changeset: 8 9 "Throw exceptions for invalid number of channels for 10 ConvolverNode" 11 https://bugs.webkit.org/show_bug.cgi?id=159238 12 http://trac.webkit.org/changeset/202617 13 1 14 2016-06-29 Jer Noble <jer.noble@apple.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r202644 r202645 1 2016-06-29 Ryan Haddad <ryanhaddad@apple.com> 2 3 Unreviewed, rolling out r202617. 4 5 The LayoutTest from this change crashes under GuardMalloc 6 7 Reverted changeset: 8 9 "Throw exceptions for invalid number of channels for 10 ConvolverNode" 11 https://bugs.webkit.org/show_bug.cgi?id=159238 12 http://trac.webkit.org/changeset/202617 13 1 14 2016-06-29 Anders Carlsson <andersca@apple.com> 2 15 -
trunk/Source/WebCore/Modules/webaudio/ConvolverNode.cpp
r202617 r202645 1 1 /* 2 2 * Copyright (C) 2010, Google Inc. All rights reserved. 3 * Copyright (C) 2016, Apple Inc. All rights reserved.4 3 * 5 4 * Redistribution and use in source and binary forms, with or without … … 133 132 size_t bufferLength = buffer->length(); 134 133 135 // The current implementation supports only 1-, 2-, or 4-channel impulse responses, with the 136 // 4-channel response being interpreted as true-stereo (see Reverb class). 137 bool isChannelCountGood = numberOfChannels == 1 || numberOfChannels == 2 || numberOfChannels == 4; 138 139 if (!isChannelCountGood) { 140 ec = NOT_SUPPORTED_ERR; 134 // The current implementation supports up to four channel impulse responses, which are interpreted as true-stereo (see Reverb class). 135 bool isBufferGood = numberOfChannels > 0 && numberOfChannels <= 4 && bufferLength; 136 ASSERT(isBufferGood); 137 if (!isBufferGood) 141 138 return; 142 }143 139 144 140 // Wrap the AudioBuffer by an AudioBus. It's an efficient pointer set and not a memcpy().
Note: See TracChangeset
for help on using the changeset viewer.