Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/audio/AudioBuffer.h @ 883

Last change on this file since 883 was 790, checked in by nicolasc, 17 years ago

merged FICN back into trunk
awaiting release.

File size: 497 bytes
Line 
1#ifndef _AudioBuffer_H__
2#define _AudioBuffer_H__
3
4#include "AudioIncludes.h"
5
6#include "AudioPrereqs.h"
7
8namespace audio
9{
10        class _AudioExport AudioBuffer
11        {
12        public:
13                AudioBuffer(std::string fileName);
14                ~AudioBuffer();
15        private:
16                // Buffers hold sound data.
17                ALuint buffer;
18                // Identifier
19                std::string name;
20                // True if AL was able to load data
21                ALboolean loaded;
22               
23                ALenum format;
24                ALsizei size;
25                ALvoid* data;
26                ALsizei freq;
27                ALboolean loop;
28        };
29}
30
31#endif /* _AudioBuffer_H__ */
Note: See TracBrowser for help on using the repository browser.