aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/midi.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2013-04-18 23:35:23 +0200
committerWillem Jan Palenstijn2013-05-08 20:40:58 +0200
commit9c2341678ef4984bf92b3878295250faf980b066 (patch)
tree2fb4805e05e16b9924e80c9947e6bad723b28c4b /engines/m4/midi.h
parent8172d679df5148a4a32f46074b20cb6caf91844f (diff)
parenta5f4ff36ffc386d48f2da49387a9655ce9295a4d (diff)
downloadscummvm-rg350-9c2341678ef4984bf92b3878295250faf980b066.tar.gz
scummvm-rg350-9c2341678ef4984bf92b3878295250faf980b066.tar.bz2
scummvm-rg350-9c2341678ef4984bf92b3878295250faf980b066.zip
Merge branch 'master'
Diffstat (limited to 'engines/m4/midi.h')
-rw-r--r--engines/m4/midi.h59
1 files changed, 0 insertions, 59 deletions
diff --git a/engines/m4/midi.h b/engines/m4/midi.h
deleted file mode 100644
index 817150fd81..0000000000
--- a/engines/m4/midi.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * ScummVM is the legal property of its developers, whose names
- * are too numerous to list here. Please refer to the COPYRIGHT
- * file distributed with this source distribution.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- */
-
-// Music class
-
-#ifndef M4_MIDI_H
-#define M4_MIDI_H
-
-#include "audio/midiplayer.h"
-
-namespace M4 {
-
-class MidiPlayer : public Audio::MidiPlayer {
-public:
- MidiPlayer(MadsM4Engine *vm);
-
- void playMusic(const char *name, int32 vol, bool loop, int32 trigger, int32 scene);
-
- void setGM(bool isGM) { _isGM = isGM; }
-
- // MidiDriver_BASE interface implementation
- virtual void send(uint32 b);
-
-protected:
- MadsM4Engine *_vm;
-
- bool _isGM;
-
- bool _randomLoop;
-
- byte *_musicData;
- uint16 *_buf;
- size_t _musicDataSize;
-
- byte *convertHMPtoSMF(byte *data, uint32 inSize, uint32 &outSize);
-};
-
-} // End of namespace M4
-
-#endif