Mercurial > fife-parpg
diff engine/core/audio/soundmanager.h @ 378:64738befdf3b
bringing in the changes from the build_system_rework branch in preparation for the 0.3.0 release. This commit will require the Jan2010 devkit. Clients will also need to be modified to the new way to import fife.
author | vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 11 Jan 2010 23:34:52 +0000 |
parents | 90005975cdbb |
children | fc5a781adf2a |
line wrap: on
line diff
--- a/engine/core/audio/soundmanager.h Wed Dec 09 17:01:52 2009 +0000 +++ b/engine/core/audio/soundmanager.h Mon Jan 11 23:34:52 2010 +0000 @@ -54,7 +54,7 @@ * @param emitterid The id of the Emitter * */ - SoundEmitter* getEmitter(unsigned int emitterid); + SoundEmitter* getEmitter(unsigned int emitterid) const; /** Returns a pointer to an allocated emitter-instance */ @@ -66,7 +66,7 @@ /** Returns an openAL context */ - ALCcontext* getContext() { + ALCcontext* getContext() const { return m_context; } @@ -113,7 +113,7 @@ /** Returns true if audio module is active */ - bool isActive() { + bool isActive() const{ return m_device != NULL; }