Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 659f5b1. rdar://problem/97689284
Account for larger sample spaces in WebAudioBufferList https://bugs.webkit.org/show_bug.cgi?id=243181 <rdar://97391151> Reviewed by Chris Dumez. Use size_t for sample count to account for larger sample spaces in WebAudioBufferList. * Source/WebCore/Modules/speech/SpeechRecognitionCaptureSourceImpl.cpp: (WebCore::SpeechRecognitionCaptureSourceImpl::pullSamplesAndCallDataCallback): * Source/WebCore/Modules/webaudio/MediaStreamAudioSourceCocoa.cpp: (WebCore::MediaStreamAudioSource::consumeAudio): * Source/WebCore/platform/audio/cocoa/WebAudioBufferList.cpp: (WebCore::WebAudioBufferList::WebAudioBufferList): (WebCore::computeBufferSizes): (WebCore::WebAudioBufferList::isSupportedDescription): (WebCore::WebAudioBufferList::setSampleCount): * Source/WebCore/platform/audio/cocoa/WebAudioBufferList.h: * Source/WebCore/platform/mediastream/mac/MockAudioSharedUnit.mm: * Source/WebCore/platform/mock/MockAudioDestinationCocoa.h: Canonical link: https://commits.webkit.org/252808@main Canonical link: https://commits.webkit.org/245886.833@safari-7613.4.1.0-branch
- Loading branch information
Showing
5 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters