From 7c024e9101a63be34a2c97ef0dc18deaa1afb175 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 9 Nov 2010 13:28:23 +0000 Subject: prevent error message spam if the audio subsystem can not initialize itself --- src/audio/audio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/audio/audio.h') 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__ -- cgit v1.2.3