Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/audio/AudioBuffer.h @ 669

Last change on this file since 669 was 409, checked in by nicolape, 17 years ago

Simplified cmake audio lib messages

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