Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f708ddaefa23bfecfd9854d30d2421f473e19d5e
      
https://github.com/WebKit/WebKit/commit/f708ddaefa23bfecfd9854d30d2421f473e19d5e
  Author: Youenn Fablet <[email protected]>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M 
Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm
    M Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.cpp
    M Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.h
    M Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.cpp
    M Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.h
    M Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.cpp
    M Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.h
    M Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.mm
    M Source/WebCore/platform/mediastream/mac/MockAudioSharedUnit.mm
    M Source/WebCore/platform/mock/MockRealtimeAudioSource.cpp
    M Source/WebCore/platform/mock/MockRealtimeMediaSourceCenter.cpp
    M Source/WebKit/GPUProcess/GPUConnectionToWebProcess.cpp
    M Source/WebKit/GPUProcess/GPUProcess.cpp
    M 
Source/WebKit/GPUProcess/webrtc/RemoteAudioMediaStreamTrackRendererInternalUnitManager.cpp

  Log Message:
  -----------
  Allow to iterate over all CoreAudioSharedUnits
rdar://163919516
https://bugs.webkit.org/show_bug.cgi?id=301849

Reviewed by Eric Carlson.

We introduce CoreAudioSharedUnit::forEach to allow 
suspending/resuming/reconfiguring all units.
This is implemented via a WeakHashSet.

We rename CoreAudioSharedUnit::singleton to 
CoreAudioSharedUnit::defaultSingleton as we plan to progressively restrict this 
method to the audio unit that is responsible for audio rendering.
To do so, we plan to split of the functionality of CoreAudioSharedUnit into 
specific classes.

No change of behavior.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to