#include <SoundBuffer.hpp>
A sound file loaded in memory. More...
A sound file loaded in memory.
Definition at line 33 of file SoundBuffer.hpp.
Public Member Functions | |
SoundBuffer (const std::string &filename) | |
Load a sound resource into memory from a file. More... | |
SoundBuffer (SoundBuffer &&) noexcept | |
SoundBuffer (const SoundBuffer &)=delete | |
SoundBuffer & | operator= (SoundBuffer &&) noexcept |
SoundBuffer & | operator= (const SoundBuffer &)=delete |
unsigned int | buffer () const |
smk::SoundBuffer::SoundBuffer | ( | const std::string & | filename | ) |
Load a sound resource into memory from a file.
Definition at line 20 of file SoundBuffer.cpp.
smk::SoundBuffer::~SoundBuffer | ( | ) |
Definition at line 70 of file SoundBuffer.cpp.
|
noexcept |
Definition at line 76 of file SoundBuffer.cpp.
unsigned int smk::SoundBuffer::buffer | ( | ) | const |
Definition at line 85 of file SoundBuffer.cpp.
|
noexcept |
Definition at line 80 of file SoundBuffer.cpp.