ladybird/Userland/Services/WebContent
Timothy Flynn 1c4dd0caad Ladybird+LibWeb+WebConent: Drive audio in Ladybird off the main thread
The main thread in the WebContent process is often busy with layout and
running JavaScript. This can cause audio to sound jittery and crack. To
avoid this behavior, we now drive audio on a secondary thread.

Note: Browser on Serenity uses AudioServer, the connection for which is
already handled on a secondary thread within LibAudio. So this only
applies to Lagom.

Rather than using LibThreading, our hands are tied to QThread for now.
Internally, the Qt media objects use a QTimer, which is forbidden from
running on a thread that is not a QThread (the debug console is spammed
with messages pointing this out). Ideally, in the future AudioServer
will be able to run for non-Serenity platforms, and most of this can be
aligned with the Serenity implementation.
2023-06-21 06:14:15 +02:00
..
AudioCodecPluginSerenity.cpp Ladybird+LibWeb+WebConent: Drive audio in Ladybird off the main thread 2023-06-21 06:14:15 +02:00
AudioCodecPluginSerenity.h Ladybird+LibWeb+WebConent: Drive audio in Ladybird off the main thread 2023-06-21 06:14:15 +02:00
CMakeLists.txt Ladybird+LibWeb+WebContent: Create a platform plugin for playing audio 2023-06-13 06:14:01 +02:00
ConnectionFromClient.cpp Ladybird+LibWeb+WebContent: Add context menu controls for muting audio 2023-06-16 19:34:42 +02:00
ConnectionFromClient.h Ladybird+LibWeb+WebContent: Add context menu controls for muting audio 2023-06-16 19:34:42 +02:00
ConsoleGlobalEnvironmentExtensions.cpp LibWeb: Restore proper functionality of legacy platform objects 2023-02-28 12:36:14 +01:00
ConsoleGlobalEnvironmentExtensions.h
Documentation.txt
Forward.h
ImageCodecPluginSerenity.cpp WebContent: Prevent renderer crash on partially invalid image 2023-06-02 09:57:20 +01:00
ImageCodecPluginSerenity.h
main.cpp Ladybird+LibWeb+WebConent: Drive audio in Ladybird off the main thread 2023-06-21 06:14:15 +02:00
PageHost.cpp Ladybird+LibWeb+WebContent: Add context menu controls for muting audio 2023-06-16 19:34:42 +02:00
PageHost.h Ladybird+LibWeb+WebContent: Add context menu controls for muting audio 2023-06-16 19:34:42 +02:00
WebContentClient.ipc Ladybird+LibWeb+WebContent: Generalize video context menus for all media 2023-06-16 19:34:42 +02:00
WebContentConsoleClient.cpp LibWeb+LibJS: Format Console arguments with JS::Print 2023-02-21 10:57:44 +01:00
WebContentConsoleClient.h
WebContentServer.ipc Ladybird+LibWeb+WebContent: Add context menu controls for muting audio 2023-06-16 19:34:42 +02:00
WebDriverClient.ipc WebDriver: Activate the browser tab during the Switch To Window command 2023-03-21 09:39:49 +00:00
WebDriverConnection.cpp WebContent: Wait for Resource to load in wait_for_navigation_to_complete 2023-05-30 20:40:23 +02:00
WebDriverConnection.h WebDriver: Activate the browser tab during the Switch To Window command 2023-03-21 09:39:49 +00:00
WebDriverServer.ipc