From 4a2bad92171ff8a9a248599f47087cfe39e93653 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 18 May 2008 09:21:20 +0000 Subject: OpenAL support --- src/audio/audio.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/audio/audio.h (limited to 'src/audio/audio.h') 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__ -- cgit v1.2.3