mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
a34e369252
This creates (and installs upon WebContent startup) a platform plugin to play audio data. On Serenity, we use AudioServer to play audio over IPC. Unfortunately, AudioServer is currently coupled with Serenity's audio devices, and thus cannot be used in Ladybird on Lagom. Instead, we use a Qt audio device to play the audio, which requires the Qt multimedia package. While we use Qt to play the audio, note that we can still use LibAudio to decode the audio data and retrieve samples - we simply send Qt the raw PCM signals. |
||
---|---|---|
.. | ||
AudioCodecPlugin.cpp | ||
AudioCodecPlugin.h | ||
EventLoopPlugin.cpp | ||
EventLoopPlugin.h | ||
EventLoopPluginSerenity.cpp | ||
EventLoopPluginSerenity.h | ||
FontPlugin.cpp | ||
FontPlugin.h | ||
FontPluginSerenity.cpp | ||
FontPluginSerenity.h | ||
ImageCodecPlugin.cpp | ||
ImageCodecPlugin.h | ||
Timer.cpp | ||
Timer.h | ||
TimerSerenity.cpp | ||
TimerSerenity.h |