[webkit-changes] [WebKit/WebKit] 2b823d: Make BaseAudioSharedUnit ref counted
youennf
noreply at github.com
Thu Aug 22 06:37:38 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2b823daac44ee321a5aad1a4aff1ef78ccb85306
https://github.com/WebKit/WebKit/commit/2b823daac44ee321a5aad1a4aff1ef78ccb85306
Author: Youenn Fablet <youenn at apple.com>
Date: 2024-08-22 (Thu, 22 Aug 2024)
Changed paths:
M Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.cpp
M Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.h
M Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.cpp
M Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.h
Log Message:
-----------
Make BaseAudioSharedUnit ref counted
https://bugs.webkit.org/show_bug.cgi?id=277543
rdar://133053082
Reviewed by Eric Carlson.
We move to ref counted so that we can protect weak BaseAudioSharedUnit when calling them.
* Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.cpp:
(WebCore::BaseAudioSharedUnit::startProducingData):
(WebCore::BaseAudioSharedUnit::devicesChanged):
(WebCore::BaseAudioSharedUnit::resume):
* Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.h:
* Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.cpp:
(WebCore::CoreAudioSharedUnit::unit):
* Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.h:
Canonical link: https://commits.webkit.org/282615@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