[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.192,1.193

Max Horn fingolfin at users.sourceforge.net
Wed Aug 6 05:12:02 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv6722

Modified Files:
	sound.cpp 
Log Message:
remove obsolete warning for non-22050 Vorbis files

Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -d -r1.192 -r1.193
--- sound.cpp	5 Aug 2003 05:21:57 -0000	1.192
+++ sound.cpp	6 Aug 2003 12:11:10 -0000	1.193
@@ -1873,14 +1873,9 @@
 		_error_flag = true;
 		delete f;
 		delete file;
-	}
-	else {
+	} else {
 		_error_flag = false;
 		_file = file;
-
-		// Check the file format
-		if (ov_info(&_ov_file, -1)->rate != 22050)
-			warning("Vorbis code currently only supports files encoded at 22050 Hz");
 	}
 }
 





More information about the Scummvm-git-logs mailing list