-
crogers@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=99215 Reviewed by Dimitri Glazkov. Upgrade AudioBus and WebAudioBus to support resizing to a smaller size, once it has been created. This is useful, for example, when decoding VBR formats and the actual length can't be exactly determined until the entire file is decoded. Source/Platform: * chromium/public/WebAudioBus.h: (WebAudioBus): Source/WebCore: * platform/audio/AudioBus.cpp: (WebCore::AudioBus::resizeSmaller): (WebCore): * platform/audio/AudioBus.h: (AudioBus): * platform/audio/AudioChannel.cpp: (WebCore::AudioChannel::resizeSmaller): (WebCore): * platform/audio/AudioChannel.h: (AudioChannel): * platform/chromium/support/WebAudioBus.cpp: (WebKit::WebAudioBus::resizeSmaller): (WebKit): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5ea0752f