[Scummvm-cvs-logs] SF.net SVN: scummvm: [28112] scummvm/trunk/engines
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Jul 15 21:26:00 CEST 2007
Revision: 28112
http://scummvm.svn.sourceforge.net/scummvm/?rev=28112&view=rev
Author: fingolfin
Date: 2007-07-15 12:26:00 -0700 (Sun, 15 Jul 2007)
Log Message:
-----------
Added FIXME comments regarding use of AudioStream::openStreamFile
Modified Paths:
--------------
scummvm/trunk/engines/scumm/smush/smush_player.cpp
scummvm/trunk/engines/sword1/music.cpp
Modified: scummvm/trunk/engines/scumm/smush/smush_player.cpp
===================================================================
--- scummvm/trunk/engines/scumm/smush/smush_player.cpp 2007-07-15 19:24:00 UTC (rev 28111)
+++ scummvm/trunk/engines/scumm/smush/smush_player.cpp 2007-07-15 19:26:00 UTC (rev 28112)
@@ -1178,6 +1178,9 @@
char fname[260];
#endif
Common::File *file = new Common::File();
+
+ // FIXME: How about using AudioStream::openStreamFile instead of the code below?
+
#ifdef USE_VORBIS
memcpy(fname, filename, i - filename);
strcpy(fname + (i - filename), ".ogg");
Modified: scummvm/trunk/engines/sword1/music.cpp
===================================================================
--- scummvm/trunk/engines/sword1/music.cpp 2007-07-15 19:24:00 UTC (rev 28111)
+++ scummvm/trunk/engines/sword1/music.cpp 2007-07-15 19:26:00 UTC (rev 28112)
@@ -203,6 +203,10 @@
char fileName[30];
stop();
+ // FIXME: How about using AudioStream::openStreamFile instead of the code below?
+ // I.e.:
+ //_audioSource = Audio::AudioStream::openStreamFile(fileBase, 0, 0, loop ? 0 : 1);
+
#ifdef USE_FLAC
if (!_audioSource) {
sprintf(fileName, "%s.flac", fileBase);
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