[Scummvm-cvs-logs] SF.net SVN: scummvm: [22595] scummvm/trunk/engines/agi/sound.h

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue May 23 22:18:15 CEST 2006


Revision: 22595
Author:   eriktorbjorn
Date:     2006-05-23 22:17:48 -0700 (Tue, 23 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22595&view=rev

Log Message:
-----------
Seems like the sound is generated at 22050 Hz regardless of output sample rate.
Hopefully, that will change in the future.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/sound.h
Modified: scummvm/trunk/engines/agi/sound.h
===================================================================
--- scummvm/trunk/engines/agi/sound.h	2006-05-24 04:48:39 UTC (rev 22594)
+++ scummvm/trunk/engines/agi/sound.h	2006-05-24 05:17:48 UTC (rev 22595)
@@ -152,7 +152,8 @@
 	}
 
 	int getRate() const {
-		return _sampleRate;
+		// FIXME: Ideally, we should use _sampleRate.
+		return 22050;
 	}
 
 private:


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list