[webkit-changes] [WebKit/WebKit] fe502b: [GStreamer][WebAudio] Misc cleanups
Philippe Normand
noreply at github.com
Thu Sep 28 07:17:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fe502bf25fceede418bdfb4ed2f614e45eaf0e16
https://github.com/WebKit/WebKit/commit/fe502bf25fceede418bdfb4ed2f614e45eaf0e16
Author: Philippe Normand <philn at igalia.com>
Date: 2023-09-28 (Thu, 28 Sep 2023)
Changed paths:
M Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp
Log Message:
-----------
[GStreamer][WebAudio] Misc cleanups
https://bugs.webkit.org/show_bug.cgi?id=262183
Reviewed by Xabier Rodriguez-Calvar.
The source pad caps don't change, so we can build and store the GstAudioInfo once instead of for
every push iteration. webKitWebAudioSrcAllocateBuffers was also renamed to
webKitWebAudioSrcAllocateBuffer for consistency.
* Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
(webKitWebAudioSrcConstructed):
(webKitWebAudioSrcAllocateBuffer):
(webKitWebAudioSrcRenderIteration):
(webKitWebAudioSrcAllocateBuffers): Deleted.
Canonical link: https://commits.webkit.org/268584@main
More information about the webkit-changes
mailing list