mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
df06d19b33
Reading large MP3 files from a slow medium, such as an SD card, takes several seconds. This is too long for interactive applications like the music app. With this patch, the OmxDecoder reads large MP3 file in smaller chunks and hands over each chunk individually to the MP3 parser. Reading the file is done in the I/O thread, which is allowed to block, parsing is done on the main thread. The current chunk size is 8 MiB, which is small enough to not cause any delay. --HG-- extra : rebase_source : 4effb86db481c405a97760cd98f4218dde42104d |
||
---|---|---|
.. | ||
mediaresourcemanager | ||
Makefile.in | ||
MediaOmxDecoder.cpp | ||
MediaOmxDecoder.h | ||
MediaOmxReader.cpp | ||
MediaOmxReader.h | ||
MediaOmxStateMachine.h | ||
moz.build | ||
MP3FrameParser.cpp | ||
MP3FrameParser.h | ||
MPAPI.h | ||
OMXCodecProxy.cpp | ||
OMXCodecProxy.h | ||
OmxDecoder.cpp | ||
OmxDecoder.h |