From 53fb26550d3f12cfdb61cd1b55bf4d69422a2d05 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Mon, 24 Apr 2017 11:45:41 -0500 Subject: VIDEO: Unexpose audio sync API in AdvancedVMDDecoder This change was inadvertently added in commit 44dd029cb17160316b2015321a0a53f8854b6dd3 but is not actually used. --- video/coktel_decoder.cpp | 1 - video/coktel_decoder.h | 5 ----- 2 files changed, 6 deletions(-) (limited to 'video') 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 { -- cgit v1.2.3