mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
LibAudio: Convert FlacLoader to use new Core::Stream APIs :^)
For this change to work "easily", Loader can't take const ByteBuffer's anymore, which is fine for now.
This commit is contained in:
parent
4f48a086b7
commit
8a92573732
7 changed files with 113 additions and 175 deletions
|
@ -36,7 +36,7 @@ MaybeLoaderError WavLoaderPlugin::initialize()
|
|||
return {};
|
||||
}
|
||||
|
||||
WavLoaderPlugin::WavLoaderPlugin(const ByteBuffer& buffer)
|
||||
WavLoaderPlugin::WavLoaderPlugin(const Bytes& buffer)
|
||||
{
|
||||
m_stream = make<InputMemoryStream>(buffer);
|
||||
if (!m_stream) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue