aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-04-24 11:45:41 -0500
committerColin Snover2017-04-29 14:30:09 -0500
commit53fb26550d3f12cfdb61cd1b55bf4d69422a2d05 (patch)
treeb6955769dce3304ab74413bf7a7f371bf547b47d
parenta62e174064e2e160c6cb2f3903e4924f2da62a84 (diff)
downloadscummvm-rg350-53fb26550d3f12cfdb61cd1b55bf4d69422a2d05.tar.gz
scummvm-rg350-53fb26550d3f12cfdb61cd1b55bf4d69422a2d05.tar.bz2
scummvm-rg350-53fb26550d3f12cfdb61cd1b55bf4d69422a2d05.zip
VIDEO: Unexpose audio sync API in AdvancedVMDDecoder
This change was inadvertently added in commit 44dd029cb17160316b2015321a0a53f8854b6dd3 but is not actually used.
-rw-r--r--video/coktel_decoder.cpp1
-rw-r--r--video/coktel_decoder.h5
2 files changed, 0 insertions, 6 deletions
diff --git a/video/coktel_decoder.cpp b/video/coktel_decoder.cpp
index 4c9ef67702..905ffd6ff2 100644
--- a/video/coktel_decoder.cpp
+++ b/video/coktel_decoder.cpp
@@ -2779,7 +2779,6 @@ void VMDDecoder::setAutoStartSound(bool autoStartSound) {
AdvancedVMDDecoder::AdvancedVMDDecoder(Audio::Mixer::SoundType soundType) {
_decoder = new VMDDecoder(g_system->getMixer(), soundType);
_decoder->setAutoStartSound(false);
- _useAudioSync = true;
}
AdvancedVMDDecoder::~AdvancedVMDDecoder() {
diff --git a/video/coktel_decoder.h b/video/coktel_decoder.h
index 726d052e26..44de1c7d68 100644
--- a/video/coktel_decoder.h
+++ b/video/coktel_decoder.h
@@ -569,11 +569,6 @@ public:
void close();
void setSurfaceMemory(void *mem, uint16 width, uint16 height, uint8 bpp);
- void setAudioSync(bool sync) { _useAudioSync = sync; }
-
-protected:
- bool _useAudioSync;
- bool useAudioSync() const { return _useAudioSync; }
private:
class VMDVideoTrack : public FixedRateVideoTrack {