diff options
author | Max Horn | 2002-12-11 16:09:58 +0000 |
---|---|---|
committer | Max Horn | 2002-12-11 16:09:58 +0000 |
commit | bf62494fd5fc578a609b5986237035997c214b15 (patch) | |
tree | 68c3f90d9ddd0f93fafc1c84548e611d458d88de /backends/midi/null.cpp | |
parent | 5bf87dd3682af7de77fd0fff8d182087ebc8151a (diff) | |
download | scummvm-rg350-bf62494fd5fc578a609b5986237035997c214b15.tar.gz scummvm-rg350-bf62494fd5fc578a609b5986237035997c214b15.tar.bz2 scummvm-rg350-bf62494fd5fc578a609b5986237035997c214b15.zip |
ripped out obsolete midi streaming code from backends (this may break Alsa/SEQ/Windows/Morphos compile, I tried my best, but you'll have to clean up after me)
svn-id: r5905
Diffstat (limited to 'backends/midi/null.cpp')
-rw-r--r-- | backends/midi/null.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/backends/midi/null.cpp b/backends/midi/null.cpp index 80e30735c2..74612d18cf 100644 --- a/backends/midi/null.cpp +++ b/backends/midi/null.cpp @@ -25,14 +25,12 @@ /* NULL driver */ class MidiDriver_NULL : public MidiDriver_MPU401 { public: - int open(int mode); + int open(); void close() { } void send(uint32 b) { } - void pause(bool p) { } - void set_stream_callback(void *param, StreamCallback *sc) { } }; -int MidiDriver_NULL::open(int mode) +int MidiDriver_NULL::open() { warning("Music not enabled - MIDI support selected with no MIDI driver available. Try Adlib"); return 0; |