[webkit-changes] [WebKit/WebKit] 360631: [WebAudio][Amlogic] Play webaudio as system sound
Xabier Rodríguez
noreply at github.com
Mon Mar 13 07:37:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 360631ff2be0bcd39d97f85ec2ab221e7f6e3c4c
https://github.com/WebKit/WebKit/commit/360631ff2be0bcd39d97f85ec2ab221e7f6e3c4c
Author: Xabier Rodriguez-Calvar <calvaris at igalia.com>
Date: 2023-03-13 (Mon, 13 Mar 2023)
Changed paths:
M Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp
Log Message:
-----------
[WebAudio][Amlogic] Play webaudio as system sound
https://bugs.webkit.org/show_bug.cgi?id=253306
Reviewed by Philippe Normand.
Set Amlogic audio sink property direct-mode=false so webaudio
is treated as system sound and won't collide with other
kind of audio playbacks (main, text to speech)
The property must be set before reaching READY state
so use amlhalasink directly (instead of autoaudiosink)
Based on a patch by Andrzej Surdej <Andrzej_Surdej at comcast.com>.
* Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
(WebCore::AudioDestinationGStreamer::AudioDestinationGStreamer):
Canonical link: https://commits.webkit.org/261572@main
More information about the webkit-changes
mailing list