diff options
Diffstat (limited to 'video/coktel_decoder.cpp')
-rw-r--r-- | video/coktel_decoder.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/video/coktel_decoder.cpp b/video/coktel_decoder.cpp index 6a60b0e7d7..5d7efe87af 100644 --- a/video/coktel_decoder.cpp +++ b/video/coktel_decoder.cpp @@ -288,6 +288,14 @@ void CoktelDecoder::close() { _isPaused = false; } +Audio::Mixer::SoundType CoktelDecoder::getSoundType() const { + return _soundType; +} + +Audio::AudioStream *CoktelDecoder::getAudioStream() const { + return _audioStream; +} + uint16 CoktelDecoder::getWidth() const { return _width; } @@ -2847,11 +2855,11 @@ AdvancedVMDDecoder::VMDAudioTrack::VMDAudioTrack(VMDDecoder *decoder) : _decoder } Audio::Mixer::SoundType AdvancedVMDDecoder::VMDAudioTrack::getSoundType() const { - return _decoder->_soundType; + return _decoder->getSoundType(); } Audio::AudioStream *AdvancedVMDDecoder::VMDAudioTrack::getAudioStream() const { - return _decoder->_audioStream; + return _decoder->getAudioStream(); } } // End of namespace Video |