aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-06 00:02:49 +0000
committerJohannes Schickel2010-01-06 00:02:49 +0000
commit789f2ce25501757a91b0c6d426a73e4108e5e4b1 (patch)
tree326973824145cf731702f1ae0b70097c8747e8c5 /sound
parent668f6e5de852a2a378cdff3c9e0f33d0836c4d11 (diff)
downloadscummvm-rg350-789f2ce25501757a91b0c6d426a73e4108e5e4b1.tar.gz
scummvm-rg350-789f2ce25501757a91b0c6d426a73e4108e5e4b1.tar.bz2
scummvm-rg350-789f2ce25501757a91b0c6d426a73e4108e5e4b1.zip
The current AIFF stream implementations returns a SeekableAudioStream, reflect that in its factory method.
svn-id: r47067
Diffstat (limited to 'sound')
-rw-r--r--sound/aiff.cpp2
-rw-r--r--sound/aiff.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/sound/aiff.cpp b/sound/aiff.cpp
index 3c8a7f02a4..69fb806420 100644
--- a/sound/aiff.cpp
+++ b/sound/aiff.cpp
@@ -160,7 +160,7 @@ bool loadAIFFFromStream(Common::SeekableReadStream &stream, int &size, int &rate
return true;
}
-AudioStream *makeAIFFStream(Common::SeekableReadStream &stream) {
+SeekableAudioStream *makeAIFFStream(Common::SeekableReadStream &stream) {
int size, rate;
byte *data, flags;
diff --git a/sound/aiff.h b/sound/aiff.h
index b253b64e23..e8a3b6f0b0 100644
--- a/sound/aiff.h
+++ b/sound/aiff.h
@@ -39,7 +39,7 @@ namespace Common { class SeekableReadStream; }
namespace Audio {
-class AudioStream;
+class SeekableAudioStream;
/**
* Try to load an AIFF from the given seekable stream. Returns true if
@@ -56,7 +56,7 @@ extern bool loadAIFFFromStream(Common::SeekableReadStream &stream, int &size, in
*
* This function uses loadAIFFFromStream() internally.
*/
-AudioStream *makeAIFFStream(Common::SeekableReadStream &stream);
+SeekableAudioStream *makeAIFFStream(Common::SeekableReadStream &stream);
} // End of namespace Audio