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

  Changed paths:
    M Source/WebCore/platform/mediastream/mac/CoreAudioCaptureUnit.cpp
    M Source/WebCore/platform/mediastream/mac/CoreAudioCaptureUnit.h

  Log Message:
  -----------
  AirPods capture mute does not work with multi-microphone capture
rdar://165432476
https://bugs.webkit.org/show_bug.cgi?id=303128

Reviewed by Jean-Yves Avenard.

When VPIO is no longer running but non-VPIO capture is ongoing, muting/unmuting 
via AirPods should still work.
This was not the case as we were checking whether the VPIO unit was producing 
microphone samples or not.
We update the check to include all units.

We also update the test in CoreAudioCaptureUnit::updateMutedState to only check 
for other units.

Manually tested.

* Source/WebCore/platform/mediastream/mac/CoreAudioCaptureUnit.cpp:
(WebCore::CoreAudioCaptureUnit::isAnyUnitCapturingExceptFor):
(WebCore::CoreAudioCaptureUnit::isAnyUnitCapturing):
(WebCore::CoreAudioCaptureUnit::updateMutedState):
(WebCore::CoreAudioCaptureUnit::disableMutedSpeechActivityEventListener):
* Source/WebCore/platform/mediastream/mac/CoreAudioCaptureUnit.h:

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



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

Reply via email to