diff engine/core/audio/soundemitter.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 11896fe26c1d
children e584b0b8b4a2
line wrap: on
line diff
--- a/engine/core/audio/soundemitter.h	Wed Dec 09 17:01:52 2009 +0000
+++ b/engine/core/audio/soundemitter.h	Mon Jan 11 23:34:52 2010 +0000
@@ -54,7 +54,7 @@
 
 		/** Returns the emitter-id
 		 */
-		unsigned int getID() {
+		unsigned int getID() const{
 			return m_emitterid;
 		}
 
@@ -140,7 +140,7 @@
 		 *
 		 * @return Returns true if the audio data is stereo, false if mono.
 		 */
-		bool isStereo() {
+		bool isStereo() const{
 			if (m_soundclip) {
 				return m_soundclip->getDecoder()->isStereo();
 			}
@@ -149,7 +149,7 @@
 
 		/** Returns the bit resolution
 		 */
-		short getBitResolution() {
+		short getBitResolution() const {
 			if (m_soundclip) {
 				return m_soundclip->getDecoder()->getBitResolution();
 			}
@@ -158,7 +158,7 @@
 
 		/** Returns the sample rate
 		 */
-		unsigned long getSampleRate() {
+		unsigned long getSampleRate() const{
 			if (m_soundclip) {
 				return m_soundclip->getDecoder()->getSampleRate();
 			}