diff engine/core/audio/soundmanager.h @ 592:fc5a781adf2a

* Added getVolume() to the SoundManager.
author helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 14 Aug 2010 12:40:05 +0000
parents 64738befdf3b
children
line wrap: on
line diff
--- a/engine/core/audio/soundmanager.h	Fri Aug 13 20:28:52 2010 +0000
+++ b/engine/core/audio/soundmanager.h	Sat Aug 14 12:40:05 2010 +0000
@@ -80,6 +80,12 @@
 			}
 			alListenerf(AL_GAIN, vol);
 		}
+
+		/** Return the Master Volume
+		*/
+		float getVolume() const{
+			return m_volume;
+		}
 		
 		/** Mute
 		 */