[webkit-changes] [WebKit/WebKit] cb23e7: CoreAudioSharedUnit::voiceActivityDetected() shoul...
youennf
noreply at github.com
Thu Sep 19 06:10:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cb23e73e0dfda6778d4830a42e73c188713f48a9
https://github.com/WebKit/WebKit/commit/cb23e73e0dfda6778d4830a42e73c188713f48a9
Author: Youenn Fablet <youenn at apple.com>
Date: 2024-09-19 (Thu, 19 Sep 2024)
Changed paths:
M Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.mm
Log Message:
-----------
CoreAudioSharedUnit::voiceActivityDetected() should be called on main thread
rdar://136280173
https://bugs.webkit.org/show_bug.cgi?id=279961
Reviewed by Jean-Yves Avenard.
kVoiceActivityDetectionState callback can be called on any thread.
Now that we use a timer, we need CoreAudioSharedUnit::voiceActivityDetected to be run on main thread.
We thus add a missing callOnMainRunLoop in CoreAudioSharedUnit::processVoiceActivityEvent.
* Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.mm:
(WebCore::speechActivityListenerCallback):
(WebCore::CoreAudioSharedUnit::processVoiceActivityEvent):
Canonical link: https://commits.webkit.org/283915@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