mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
LibAudio: Run clang-format on all of it to make editing easier.
This commit is contained in:
parent
9ed7f4576b
commit
c7a4c8f93b
4 changed files with 54 additions and 39 deletions
|
@ -1,18 +1,22 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/AKString.h>
|
||||
#include <AK/RefPtr.h>
|
||||
#include <AK/StringView.h>
|
||||
#include <AK/AKString.h>
|
||||
|
||||
class ABuffer;
|
||||
|
||||
namespace AK {
|
||||
class ByteBuffer;
|
||||
}
|
||||
|
||||
// Parses a WAV file and produces an ABuffer instance from it
|
||||
class AWavLoader {
|
||||
public:
|
||||
RefPtr<ABuffer> load_wav(const StringView& path);
|
||||
const char* error_string() { return m_error_string.characters(); }
|
||||
|
||||
private:
|
||||
RefPtr<ABuffer> parse_wav(ByteBuffer& buffer);
|
||||
RefPtr<ABuffer> parse_wav(ByteBuffer&);
|
||||
String m_error_string;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue