Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 775 was 729, checked in by rgrieder, 17 years ago
  • fixed multiple template instantiation problem under windows
  • removed some warnings by introducing explicit casts
File size: 497 bytes
RevLine 
[673]1#ifndef _AudioBuffer_H__
2#define _AudioBuffer_H__
[349]3
[409]4#include "AudioIncludes.h"
[349]5
[729]6#include "AudioPrereqs.h"
7
[349]8namespace audio
9{
[729]10        class _AudioExport AudioBuffer
[349]11        {
12        public:
[715]13                AudioBuffer(std::string fileName);
[349]14                ~AudioBuffer();
15        private:
16                // Buffers hold sound data.
[350]17                ALuint buffer;
[349]18                // Identifier
[715]19                std::string name;
[350]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;
[349]28        };
29}
30
[673]31#endif /* _AudioBuffer_H__ */
Note: See TracBrowser for help on using the repository browser.