Skip to content

Commit

Permalink
TITANIC: Removed unused CWaveFile constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Aug 7, 2017
1 parent 9c4316b commit bad821d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions engines/titanic/sound/wave_file.cpp
Expand Up @@ -70,12 +70,6 @@ CWaveFile::CWaveFile(Audio::Mixer *mixer) : _mixer(mixer), _pendingAudioStream(n
setup();
}

CWaveFile::CWaveFile(QSoundManager *owner) : _pendingAudioStream(nullptr),
_waveData(nullptr), _waveSize(0), _dataSize(0), _headerSize(0),
_rate(0), _flags(0), _wavType(0), _soundType(Audio::Mixer::kPlainSoundType) {
setup();
}

void CWaveFile::setup() {
_loadMode = LOADMODE_SCUMMVM;
_dataSize = 0;
Expand Down
3 changes: 0 additions & 3 deletions engines/titanic/sound/wave_file.h
Expand Up @@ -33,8 +33,6 @@ namespace Titanic {

enum LoadMode { LOADMODE_AUDIO_BUFFER = 1, LOADMODE_SCUMMVM = 2 };

class QSoundManager;

class CWaveFile {
private:
Audio::Mixer *_mixer;
Expand Down Expand Up @@ -70,7 +68,6 @@ class CWaveFile {
int _channel;
public:
CWaveFile(Audio::Mixer *mixer);
CWaveFile(QSoundManager *owner);
~CWaveFile();

/**
Expand Down

0 comments on commit bad821d

Please sign in to comment.