Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
OpenALSoundBuffer.h
Go to the documentation of this file.
1#ifndef ULT_OPENAL_SOUND_BUFFER_H_INCLUDED
2#define ULT_OPENAL_SOUND_BUFFER_H_INCLUDED
3
4namespace Ult
5{
6
10
16{
17public:
30 bool LoadSoundFromFile(const char* fileName);
34 void Cleanup();
38 unsigned int GetSoundBuffer() const { return mSoundBuffer; }
39private:
40 unsigned int mSoundBuffer;
41};
42
43} // namespace Ult
44
45#endif // ULT_OPENAL_SOUND_BUFFER_H_INCLUDED
46
bool LoadSoundFromFile(const char *fileName)
Definition OpenALSoundBuffer.cpp:15
OpenALSoundBuffer()
Definition OpenALSoundBuffer.cpp:7
unsigned int GetSoundBuffer() const
Definition OpenALSoundBuffer.h:38
void Cleanup()
Definition OpenALSoundBuffer.cpp:24
~OpenALSoundBuffer()
Definition OpenALSoundBuffer.cpp:10
Definition Archive.h:13