46 FILE* soundFile = NULL;
47 WAVE_Format wave_format;
48 RIFF_Header riff_header;
58 static std::optional<SoundBuffer> MakeBuffer(
const std::string filename,
59 const std::string name);
61 SoundBuffer(SoundBuffer&& b)
noexcept;
62 SoundBuffer(
const SoundBuffer& b) =
default;
63 SoundBuffer& operator=(SoundBuffer& other) =
default;
64 SoundBuffer& operator=(SoundBuffer&& other) =
default;
65 ALuint getBuffer()
const;
70 SoundBuffer(ALuint
id, SoundData data);
76 SoundBuffer() =
default;
80 SoundData sound_info_;
Stores and offers access to all meshes, textures, and sounds of the engine.
Definition: resource_manager.hpp:27