Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a4b7b565fd3bec00480fe0079fa9cc3893f95242
      
https://github.com/WebKit/WebKit/commit/a4b7b565fd3bec00480fe0079fa9cc3893f95242
  Author: Rose <gfunni...@gmail.com>
  Date:   2024-09-03 (Tue, 03 Sep 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/platform/audio/mac/AudioHardwareListenerMac.cpp
    M Source/WebCore/platform/audio/mac/AudioSessionMac.mm
    M Source/WebCore/platform/graphics/mac/GraphicsChecksMac.cpp
    M Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDevice.cpp
    M Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.cpp
    M Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.cpp
    M Tools/DumpRenderTree/mac/LayoutTestHelper.m

  Log Message:
  -----------
  [WTF] Remove master variations of main constants
https://bugs.webkit.org/show_bug.cgi?id=279000

Reviewed by Brent Fulgham.

All supported macOS versions use IOMainPort, and
kAudioObjectPropertyElementMaster now.
IOMasterPort was supported until Big Sur.

https://commits.webkit.org/260226@main added a
check for the main port, but now we can remove
that as well.

* Source/WTF/wtf/PlatformHave.h: Remove check for Main.
* Source/WebCore/platform/audio/mac/AudioHardwareListenerMac.cpp: Ditto.
(WebCore::isAudioHardwareProcessRunning):
(WebCore::currentDeviceSupportedBufferSizes):
(WebCore::processIsRunningPropertyDescriptor):
(WebCore::outputDevicePropertyDescriptor):
* Source/WebCore/platform/audio/mac/AudioSessionMac.mm:
(WebCore::defaultDeviceWithoutCaching):
(WebCore::defaultDeviceTransportIsBluetooth):
(WebCore::AudioSessionMac::defaultOutputDeviceAddress):
(WebCore::AudioSessionMac::nominalSampleRateAddress):
(WebCore::AudioSessionMac::bufferSizeAddress):
(WebCore::AudioSessionMac::maximumNumberOfOutputChannels const):
(WebCore::AudioSessionMac::setPreferredBufferSize):
(WebCore::AudioSessionMac::isMuted const):
(WebCore::AudioSessionMac::muteAddress):
* Source/WebCore/platform/graphics/mac/GraphicsChecksMac.cpp:
(WebCore::attachToAppleGraphicsControl):
* Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDevice.cpp:
(WebCore::getDeviceInfo):
(WebCore::CoreAudioCaptureDevice::CoreAudioCaptureDevice):
(WebCore::CoreAudioCaptureDevice::relatedAudioDeviceIDs):
* Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.cpp:
(WebCore::deviceHasInputStreams):
(WebCore::deviceHasOutputStreams):
(WebCore::isValidCaptureDevice):
(WebCore::CoreAudioCaptureDeviceManager::coreAudioCaptureDevices):
(WebCore::computeAudioDeviceList):
* Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.cpp:
(WebCore::CoreAudioSharedInternalUnit::defaultOutputDevice):
* Tools/DumpRenderTree/mac/LayoutTestHelper.m:
(lockDownDiscreteGraphics):

Canonical link: https://commits.webkit.org/283100@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to