aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2009-11-14 03:21:42 +0000
committerFilippos Karapetis2009-11-14 03:21:42 +0000
commit40570ddf212c25c4879f9a359191b21bc93f9adf (patch)
tree0b6570f171b06785dd1e288ebd304ed9098d8c78 /engines/sci
parente2985a41735f16ce17944b4d9c32004faac294d2 (diff)
downloadscummvm-rg350-40570ddf212c25c4879f9a359191b21bc93f9adf.tar.gz
scummvm-rg350-40570ddf212c25c4879f9a359191b21bc93f9adf.tar.bz2
scummvm-rg350-40570ddf212c25c4879f9a359191b21bc93f9adf.zip
Cleanup
svn-id: r45886
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sfx/device.h13
-rw-r--r--engines/sci/sfx/seq/gm.cpp2
2 files changed, 2 insertions, 13 deletions
diff --git a/engines/sci/sfx/device.h b/engines/sci/sfx/device.h
index e1b8c9ea06..e0b7286af4 100644
--- a/engines/sci/sfx/device.h
+++ b/engines/sci/sfx/device.h
@@ -33,11 +33,6 @@
namespace Sci {
-/* Various types of resources */
-#define SFX_DEVICE_NONE 0
-#define SFX_DEVICE_MIDI 1 /* midi writer */
-#define SFX_DEVICE_OPL2 2 /* OPL/2 sequencer */
-
struct _midi_device {
const char *name;
@@ -106,14 +101,6 @@ struct midi_writer_t {
};
-void *sfx_find_device(int type, char *name);
-/* Looks up a device by name
-** Parameters: (int) type: Device type to look up
-** (char *) name: Comma-separated list of devices to choose from
-** (in the order specified), or NULL for default
-** Returns : (void *) The device requested, or NULL if no match was found
-*/
-
} // End of namespace Sci
#endif // SCI_SFX_DEVICE_H
diff --git a/engines/sci/sfx/seq/gm.cpp b/engines/sci/sfx/seq/gm.cpp
index f1937e063a..32e6483a07 100644
--- a/engines/sci/sfx/seq/gm.cpp
+++ b/engines/sci/sfx/seq/gm.cpp
@@ -142,6 +142,7 @@ static Common::Error midi_gm_set_option(char *x, char *y) {
return Common::kUnknownError;
}
+#if 0
sfx_sequencer_t sfx_sequencer_gm = {
"General MIDI",
"0.1",
@@ -162,5 +163,6 @@ sfx_sequencer_t sfx_sequencer_gm = {
64, /* max polyphony */
0 /* no write-ahead needed inherently */
};
+#endif
} // End of namespace Sci