[webkit-changes] [WebKit/WebKit] 7cb7a6: 'kAudioDevicePropertyTapEnabled' is deprecated

youennf noreply at github.com
Mon Mar 25 09:47:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7cb7a6e0f00e1bcf3a5558b2cbed8774d82e2200
      https://github.com/WebKit/WebKit/commit/7cb7a6e0f00e1bcf3a5558b2cbed8774d82e2200
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-03-25 (Mon, 25 Mar 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/PAL/pal/spi/cf/CoreAudioSPI.h
    M Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.cpp

  Log Message:
  -----------
  'kAudioDevicePropertyTapEnabled' is deprecated
rdar://118872154
https://bugs.webkit.org/show_bug.cgi?id=271630

Reviewed by Jean-Yves Avenard and Eric Carlson.

Use kAudioDevicePropertyTapEnabled where not deprecated and kAudioDevicePropertyReferenceStreamEnabled otherwise.
Remove non Mac declaration of kAudioDevicePropertyTapEnabled since it is only used in Mac.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/spi/cf/CoreAudioSPI.h:
* Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.cpp:
(WebCore::isValidCaptureDevice):

Canonical link: https://commits.webkit.org/276629@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