comparison 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
comparison
equal deleted inserted replaced
377:fe6fb0e0ed23 378:64738befdf3b
52 /** Returns a pointer to an emitter-instance given by emitterid 52 /** Returns a pointer to an emitter-instance given by emitterid
53 * 53 *
54 * @param emitterid The id of the Emitter 54 * @param emitterid The id of the Emitter
55 * 55 *
56 */ 56 */
57 SoundEmitter* getEmitter(unsigned int emitterid); 57 SoundEmitter* getEmitter(unsigned int emitterid) const;
58 58
59 /** Returns a pointer to an allocated emitter-instance 59 /** Returns a pointer to an allocated emitter-instance
60 */ 60 */
61 SoundEmitter* createEmitter(); 61 SoundEmitter* createEmitter();
62 62
64 */ 64 */
65 void releaseEmitter(unsigned int emitterid); 65 void releaseEmitter(unsigned int emitterid);
66 66
67 /** Returns an openAL context 67 /** Returns an openAL context
68 */ 68 */
69 ALCcontext* getContext() { 69 ALCcontext* getContext() const {
70 return m_context; 70 return m_context;
71 } 71 }
72 72
73 /** Sets the Master Volume 73 /** Sets the Master Volume
74 * 74 *
111 */ 111 */
112 void setListenerVelocity(float x, float y, float z); 112 void setListenerVelocity(float x, float y, float z);
113 113
114 /** Returns true if audio module is active 114 /** Returns true if audio module is active
115 */ 115 */
116 bool isActive() { 116 bool isActive() const{
117 return m_device != NULL; 117 return m_device != NULL;
118 } 118 }
119 119
120 private: 120 private:
121 121