The current AIFF stream implementations returns a SeekableAudioStream, reflect that in its factory method.

svn-id: r47067
This commit is contained in:
Johannes Schickel 2010-01-06 00:02:49 +00:00
parent 668f6e5de8
commit 789f2ce255
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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