diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-09 13:28:23 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-09 13:28:23 +0000 |
commit | 7c024e9101a63be34a2c97ef0dc18deaa1afb175 (patch) | |
tree | dc604d5578efa98ba8164c5492ce20f2848f646a /src/audio/audio.h | |
parent | fdcff7183b035a27ff960f347b9975ab8e67a3cd (diff) |
prevent error message spam if the audio subsystem can not initialize itself
Diffstat (limited to 'src/audio/audio.h')
-rw-r--r-- | src/audio/audio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio/audio.h b/src/audio/audio.h index ad9a024..073fb67 100644 --- a/src/audio/audio.h +++ b/src/audio/audio.h @@ -62,6 +62,9 @@ void update_listener(math::Vector3f const &location, math::Axis const &axis, mat /// return true is a source is playing bool is_playing(const size_t source_index); +/// return true if audio is initialized +bool initialized(); + } #endif // __INCLUDED_AUDIO_AUDIO_H__ |