mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +00:00
LibAudio: Parse the picture metadata block
This commit is contained in:
parent
db40a514f5
commit
2ddcfcb00f
4 changed files with 98 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
#include <AK/Span.h>
|
||||
#include <AK/StringView.h>
|
||||
#include <AK/Try.h>
|
||||
#include <LibAudio/GenericTypes.h>
|
||||
#include <LibAudio/LoaderError.h>
|
||||
#include <LibAudio/Sample.h>
|
||||
#include <LibAudio/SampleFormats.h>
|
||||
|
@ -62,6 +63,8 @@ protected:
|
|||
OwnPtr<Core::Stream::SeekableStream> m_stream;
|
||||
// The constructor might set this so that we can initialize the data stream later.
|
||||
Optional<Bytes> m_backing_memory;
|
||||
|
||||
Vector<PictureData> m_pictures;
|
||||
};
|
||||
|
||||
class Loader : public RefCounted<Loader> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue