Skip to content

Commit

Permalink
ZVISION: Make ZorkAVIAudioTrack resetable
Browse files Browse the repository at this point in the history
  • Loading branch information
Marisa-Chan committed Nov 4, 2014
1 parent 8b18ba6 commit 3f21de4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engines/zvision/video/zork_avi_decoder.cpp
Expand Up @@ -55,4 +55,8 @@ void ZorkAVIDecoder::ZorkAVIAudioTrack::queueSound(Common::SeekableReadStream *s
}
}

void ZorkAVIDecoder::ZorkAVIAudioTrack::resetStream() {
decoder->init();
}

} // End of namespace ZVision
1 change: 1 addition & 0 deletions engines/zvision/video/zork_avi_decoder.h
Expand Up @@ -52,6 +52,7 @@ class ZorkAVIDecoder : public Video::AVIDecoder {
}

void queueSound(Common::SeekableReadStream *stream);
void resetStream();
private:
RawChunkStream *decoder;
};
Expand Down

0 comments on commit 3f21de4

Please sign in to comment.