mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-07 20:31:04 +03:00
Ladybird: Install the Audio Unit plugin on macOS
This commit is contained in:
parent
759e07579e
commit
2eb9f3f639
Notes:
sideshowbarker
2024-07-17 02:14:39 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/2eb9f3f639 Pull-request: https://github.com/SerenityOS/serenity/pull/20987 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/Zaggy1024
@ -60,7 +60,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
Web::Platform::ImageCodecPlugin::install(*new Ladybird::ImageCodecPlugin);
|
||||
|
||||
Web::Platform::AudioCodecPlugin::install_creation_hook([](auto loader) {
|
||||
#if defined(HAVE_PULSEAUDIO)
|
||||
#if defined(AK_OS_MACOS) || defined(HAVE_PULSEAUDIO)
|
||||
return Web::Platform::AudioCodecPluginAgnostic::create(move(loader));
|
||||
#elif defined(HAVE_QT)
|
||||
return Ladybird::AudioCodecPluginQt::create(move(loader));
|
||||
|
Loading…
Reference in New Issue
Block a user