Last change
on this file since 349 was
349,
checked in by nicolape, 16 years ago
|
Added AudioManager, AudioBuffer and AudioSource Class definitions
|
File size:
435 bytes
|
Line | |
---|
1 | #ifndef AUDIOBUFFER_H_ |
---|
2 | #define AUDIOBUFFER_H_ |
---|
3 | |
---|
4 | #include <iostream> |
---|
5 | #include <string> |
---|
6 | #include <vector> |
---|
7 | |
---|
8 | #include "../../include/AL/al.h" |
---|
9 | #include "../../include/AL/alc.h" |
---|
10 | #include "../../include/AL/alut.h" |
---|
11 | |
---|
12 | namespace audio |
---|
13 | { |
---|
14 | class AudioBuffer |
---|
15 | { |
---|
16 | public: |
---|
17 | AudioBuffer(std::string fileName); |
---|
18 | ~AudioBuffer(); |
---|
19 | private: |
---|
20 | // Buffers hold sound data. |
---|
21 | ALuint data; |
---|
22 | // Identifier |
---|
23 | std::string name; |
---|
24 | }; |
---|
25 | } |
---|
26 | |
---|
27 | #endif /*AUDIOBUFFER_H_*/ |
---|
Note: See
TracBrowser
for help on using the repository browser.