mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
LibAudio: Extract MP3 synchronize to static helper function
This comes in handy when we want to sniff an MP3 file with a stream outside of the loader.
This commit is contained in:
parent
aec3d9d84e
commit
dfd48ab643
2 changed files with 11 additions and 5 deletions
|
@ -41,6 +41,7 @@ public:
|
|||
|
||||
private:
|
||||
MaybeLoaderError initialize();
|
||||
static MaybeLoaderError synchronize(BigEndianInputBitStream& stream, size_t sample_index);
|
||||
MaybeLoaderError synchronize();
|
||||
MaybeLoaderError build_seek_table();
|
||||
ErrorOr<MP3::Header, LoaderError> read_header();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue