Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fe502bf25fceede418bdfb4ed2f614e45eaf0e16
      
https://github.com/WebKit/WebKit/commit/fe502bf25fceede418bdfb4ed2f614e45eaf0e16
  Author: Philippe Normand <ph...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to