Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: 88045e27400f2f67c3d9495c93e90981ec14dfe7
      
https://github.com/WebKit/WebKit/commit/88045e27400f2f67c3d9495c93e90981ec14dfe7
  Author: Philippe Normand <[email protected]>
  Date:   2026-01-28 (Wed, 28 Jan 2026)

  Changed paths:
    M Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp
    M Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp
    M Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.h
    M Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.cpp

  Log Message:
  -----------
  Cherry-pick 306268@main (51360ab09f0c). 
https://bugs.webkit.org/show_bug.cgi?id=306272

    [GStreamer][WebAudio] Use the audio source sample rate in the 
AudioSourceProvider
    https://bugs.webkit.org/show_bug.cgi?id=306272

    Reviewed by Xabier Rodriguez-Calvar.

    The WebAudio bus can operate a various sample rates, we don't need to 
hardcode the rate used in the
    audio source provider. By using the one from the audio input we can 
potentially avoid conversions.

    Driving-by: Re-add a queue before the audio destination sink.

    * Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
    (WebCore::AudioDestinationGStreamer::initializePipeline):
    * Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp:
    (WebCore::AudioSourceProviderGStreamer::AudioSourceProviderGStreamer):
    (WebCore::AudioSourceProviderGStreamer::~AudioSourceProviderGStreamer):
    (WebCore::AudioSourceProviderGStreamer::provideInput):
    (WebCore::AudioSourceProviderGStreamer::setClient):
    (WebCore::AudioSourceProviderGStreamer::handleNewDeinterleavePad):
    (WebCore::AudioSourceProviderGStreamer::handleRemovedDeinterleavePad):
    (WebCore::AudioSourceProviderGStreamer::determineSampleRate):
    (WebCore::onGStreamerDeinterleaveReadyCallback): Deleted.
    (WebCore::AudioSourceProviderGStreamer::deinterleavePadsConfigured): 
Deleted.
    * Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.h:
    * Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.cpp:
    (WebCore::GStreamerCapturer::createSource):

    Canonical link: https://commits.webkit.org/306268@main

Canonical link: https://commits.webkit.org/305877.27@webkitglib/2.52



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to