Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 07db15006984734250aa29f30c49170d3ec25a25
https://github.com/WebKit/WebKit/commit/07db15006984734250aa29f30c49170d3ec25a25
Author: Philippe Normand <[email protected]>
Date: 2023-08-29 (Tue, 29 Aug 2023)
Changed paths:
M Source/WebCore/platform/audio/gstreamer/PlatformRawAudioDataGStreamer.cpp
Log Message:
-----------
[GStreamer][WebCodecs] Reduce AudioConverter allocations
https://bugs.webkit.org/show_bug.cgi?id=260800
Reviewed by Xabier Rodriguez-Calvar.
It's not un-common to convert a stream of AudioData to another format, for
instance when the
destination involves WebAudio, so allocate only one converter per
source-destination format
combination.
* Source/WebCore/platform/audio/gstreamer/PlatformRawAudioDataGStreamer.cpp:
(WebCore::getAudioConvertedForFormat):
(WebCore::PlatformRawAudioData::copyTo):
Canonical link: https://commits.webkit.org/267396@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes