diff options
| author | Max Horn | 2007-07-15 19:26:00 +0000 |
|---|---|---|
| committer | Max Horn | 2007-07-15 19:26:00 +0000 |
| commit | 86d015c0551f98aec3924d85c2507462ae0ba73a (patch) | |
| tree | 694fed8c8157a1b98e4edad5d6872a1ed703246b /engines/sword1 | |
| parent | f4c0b853cc8453acac0c9e6f6901c0056a2288fa (diff) | |
| download | scummvm-rg350-86d015c0551f98aec3924d85c2507462ae0ba73a.tar.gz scummvm-rg350-86d015c0551f98aec3924d85c2507462ae0ba73a.tar.bz2 scummvm-rg350-86d015c0551f98aec3924d85c2507462ae0ba73a.zip | |
Added FIXME comments regarding use of AudioStream::openStreamFile
svn-id: r28112
Diffstat (limited to 'engines/sword1')
| -rw-r--r-- | engines/sword1/music.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sword1/music.cpp b/engines/sword1/music.cpp index ebff7f9929..e6acd8f3cd 100644 --- a/engines/sword1/music.cpp +++ b/engines/sword1/music.cpp @@ -203,6 +203,10 @@ bool MusicHandle::play(const char *fileBase, bool loop) { 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); |
