mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
This commit implements the functionality to play back audio through PlaybackManager. To decode the audio data, AudioDataProviders are created for each track in the provided media data. These providers will fill their audio block queue, then sit idle until their corresponding tracks are enabled. In order to output the audio, one AudioMixingSink is created which manages a PlaybackStream which requests audio blocks from multiple AudioDataProviders and mixes them into one buffer with sample-perfect precision. |
||
|---|---|---|
| .. | ||
| AudioDataProvider.cpp | ||
| AudioDataProvider.h | ||
| MediaTimeProvider.h | ||
| VideoDataProvider.cpp | ||
| VideoDataProvider.h | ||