27#include <SDL2pp/AudioSpec.hh>
28#include <SDL2pp/Export.hh>
52class SDL2PP_EXPORT
Wav {
70 explicit Wav(
const std::string& file);
106 Wav& operator=(
Wav&& other)
noexcept;
130 Uint32 GetLength()
const;
146 const Uint8* GetBuffer()
const;
Audio format specification.
Definition: AudioSpec.hh:46
I/O abstraction.
Definition: RWops.hh:156
Chunk of audio data read from a .WAV file
Definition: Wav.hh:52
Wav & operator=(const Wav &other)=delete
Deleted assignment operator.
Wav(const Wav &other)=delete
Deleted copy constructor.