diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-18 09:21:20 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-18 09:21:20 +0000 |
commit | 4a2bad92171ff8a9a248599f47087cfe39e93653 (patch) | |
tree | b8a4fe7f616b3e4f707d89a35fff5e8b5fdcfcc8 /src/audio/audio.h | |
parent | a185c11f2397c0296a4b62cc266b4fa00a63c1e2 (diff) |
OpenAL support
Diffstat (limited to 'src/audio/audio.h')
-rw-r--r-- | src/audio/audio.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/audio/audio.h b/src/audio/audio.h new file mode 100644 index 0000000..92b8786 --- /dev/null +++ b/src/audio/audio.h @@ -0,0 +1,28 @@ +/* + audio/audio.h + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 +*/ + +#ifndef __INCLUDED_AUDIO_AUDIO_H__ +#define __INCLUDED_AUDIO_AUDIO_H__ + +/// functions to handle audio +namespace audio +{ + +/// initialize the audio subsystem +void init(); + +/// shut down the audio subsystem +void shutdown(); + +/// load an audio sample +void load(const char *name); + +/// play a previously loaded audio sample +void play(const char *name); + +} + +#endif // __INCLUDED_AUDIO_AUDIO_H__ |