[Webkit-unassigned] [Bug 225785] New: Clean up UserMediaCaptureManagerProxy.cpp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 13 16:08:19 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=225785
Bug ID: 225785
Summary: Clean up UserMediaCaptureManagerProxy.cpp
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: peng.liu6 at apple.com
In UserMediaCaptureManagerProxy.cpp
void audioUnitWillStart() final
{
// FIXME: WebProcess might want to set the category/bufferSize itself, in which case we should remove that code.
auto bufferSize = AudioSession::sharedSession().sampleRate() / 50;
if (AudioSession::sharedSession().preferredBufferSize() > bufferSize)
AudioSession::sharedSession().setPreferredBufferSize(bufferSize);
AudioSession::sharedSession().setCategory(AudioSession::PlayAndRecord, RouteSharingPolicy::Default);
}
Probably we need to remove this code section now?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210513/7629cc21/attachment-0001.htm>
More information about the webkit-unassigned
mailing list