[webkit-changes] [WebKit/WebKit] f1c304: [WPE] git main fails to build with -DENABLE_WEB_AU...

Adrian Perez noreply at github.com
Thu Apr 4 12:56:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f1c30466d9448e712894d9f9a9aa85b5d88cc850
      https://github.com/WebKit/WebKit/commit/f1c30466d9448e712894d9f9a9aa85b5d88cc850
  Author: Adrian Perez de Castro <aperez at igalia.com>
  Date:   2024-04-04 (Thu, 04 Apr 2024)

  Changed paths:
    M Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp
    M Source/WebCore/Modules/mediastream/MediaStreamTrack.h

  Log Message:
  -----------
  [WPE] git main fails to build with -DENABLE_WEB_AUDIO=OFF
https://bugs.webkit.org/show_bug.cgi?id=269145

Reviewed by Michael Catanzaro.

Fix the build with ENABLE_WEB_AUDIO disabled.

* Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp:
(WebCore::MediaStreamTrack::createAudioSourceProvider): Move
ENABLE(WEB_AUDIO) guards around to avoid compiling the function if
disabled.
* Source/WebCore/Modules/mediastream/MediaStreamTrack.h: Add missing
ENABLE(WEB_AUDIO) guards.

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



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


More information about the webkit-changes mailing list