aboutsummaryrefslogtreecommitdiff
path: root/backends/midi
diff options
context:
space:
mode:
authorJamieson Christian2003-10-05 15:36:52 +0000
committerJamieson Christian2003-10-05 15:36:52 +0000
commita722d0601e4ae87b15fe09f62b3a1076c6c8646e (patch)
tree511293906e3b210764b047191d68278e4d8cf138 /backends/midi
parent7174a32c8e877627c51da50b657083873aeef1e6 (diff)
downloadscummvm-rg350-a722d0601e4ae87b15fe09f62b3a1076c6c8646e.tar.gz
scummvm-rg350-a722d0601e4ae87b15fe09f62b3a1076c6c8646e.tar.bz2
scummvm-rg350-a722d0601e4ae87b15fe09f62b3a1076c6c8646e.zip
Preliminary preparation for new YM2612 FM emulator.
All the hooks are in, but actual implementation needs to be checked for portability. svn-id: r10615
Diffstat (limited to 'backends/midi')
-rw-r--r--backends/midi/ym2612.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/backends/midi/ym2612.cpp b/backends/midi/ym2612.cpp
new file mode 100644
index 0000000000..1da6f64c37
--- /dev/null
+++ b/backends/midi/ym2612.cpp
@@ -0,0 +1,31 @@
+/* ScummVM - Scumm Interpreter
+ * Copyright (C) 2001-2003 The ScummVM project
+ *
+ * YM2612 tone generation code written by Tomoaki Hayasaka.
+ * Used under the terms of the GNU General Public License.
+ * Adpated to ScummVM by Jamieson Christian.
+ *
+ * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * $Header$
+ */
+
+// Real implementation coming soon! :)
+
+#include "sound/mididrv.h"
+
+MidiDriver *MidiDriver_YM2612_create(SoundMixer *mixer) {
+ return 0;
+}