[webkit-changes] [WebKit/WebKit] 93d31b: Prepare AVAudioSessionCaptureDeviceManager for lis...
youennf
noreply at github.com
Thu Dec 12 12:42:04 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 93d31b7aac48f5cb98d7f1c85c8530cd5113c011
https://github.com/WebKit/WebKit/commit/93d31b7aac48f5cb98d7f1c85c8530cd5113c011
Author: Youenn Fablet <youenn at apple.com>
Date: 2024-12-12 (Thu, 12 Dec 2024)
Changed paths:
M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h
M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm
M Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDevice.h
M Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDevice.mm
M Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.h
M Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm
Log Message:
-----------
Prepare AVAudioSessionCaptureDeviceManager for listing output devices
rdar://141282717
https://bugs.webkit.org/show_bug.cgi?id=284463
Reviewed by Eric Carlson.
We do a refactoring of AVAudioSessionCaptureDeviceManager so that it can list output devices as well as microphones.
We soft link some AV strings to identify the type of output device.
* Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h:
* Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm:
* Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDevice.h:
* Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDevice.mm:
(WebCore::AVAudioSessionCaptureDevice::createInput):
(WebCore::AVAudioSessionCaptureDevice::createOutput):
(WebCore::AVAudioSessionCaptureDevice::AVAudioSessionCaptureDevice):
(WebCore::AVAudioSessionCaptureDevice::isBuiltin const):
(WebCore::AVAudioSessionCaptureDevice::isLine const):
(WebCore::AVAudioSessionCaptureDevice::isHeadset const):
(WebCore::AVAudioSessionCaptureDevice::isolatedCopy):
(WebCore::AVAudioSessionCaptureDevice::create): Deleted.
* Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.h:
* Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm:
(WebCore::AVAudioSessionCaptureDeviceManager::captureDevices):
(WebCore::AVAudioSessionCaptureDeviceManager::retrieveAudioSessionCaptureDevices const):
(WebCore::AVAudioSessionCaptureDeviceManager::setAudioCaptureDevices):
Canonical link: https://commits.webkit.org/287758@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list