Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fbd617fdbc5777b535bec55dcd4ac38eb769bff6
      
https://github.com/WebKit/WebKit/commit/fbd617fdbc5777b535bec55dcd4ac38eb769bff6
  Author: Xabier Rodriguez-Calvar <[email protected]>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp

  Log Message:
  -----------
  [GStreamer][Webaudio] Exclude Broadcom native audio decoding path from 
webaudio decoder
https://bugs.webkit.org/show_bug.cgi?id=253150

Reviewed by Philippe Normand.

Extend skipping of "brcmaudfilter" element on BROADCOM platform also
(beside BCM_NEXUS). This way we drop Broadcom native audio decoding
path that doesn't produce raw audio output anyway.

This fixes webaudio AudioContext.decodeAudioData() pipeline creation
error for audio formats with sw decoder available. Now decodebin
will automatically pick up sw decoder if available instead of brcm.

Patch by Andrzej Surdej <[email protected]>.

* Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
(WebCore::AudioFileReader::~AudioFileReader):
(WebCore::AudioFileReader::decodeAudioForBusCreation):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to