diff options
Diffstat (limited to 'backends/midi/camd.cpp')
-rw-r--r-- | backends/midi/camd.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/midi/camd.cpp b/backends/midi/camd.cpp index 6aa79eb260..67600c004a 100644 --- a/backends/midi/camd.cpp +++ b/backends/midi/camd.cpp @@ -28,7 +28,7 @@ #include "common/endian.h" #include "common/util.h" -#include "sound/midiplugin.h" +#include "sound/musicplugin.h" #include "sound/mpu401.h" #include <proto/camd.h> @@ -166,7 +166,7 @@ void MidiDriver_CAMD::closeAll() { // Plugin interface -class CamdMidiPlugin : public MidiPluginObject { +class CamdMusicPlugin : public MusicPluginObject { public: virtual const char *getName() const { return "CAMD"; @@ -185,7 +185,7 @@ public: virtual PluginError createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const; }; -PluginError CamdMidiPlugin::createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const { +PluginError CamdMusicPlugin::createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const { *mididriver = new MidiDriver_CAMD(); return kNoError; @@ -194,16 +194,16 @@ PluginError CamdMidiPlugin::createInstance(Audio::Mixer *mixer, MidiDriver **mid MidiDriver *MidiDriver_CAMD_create(Audio::Mixer *mixer) { MidiDriver *mididriver; - CamdMidiPlugin p; + CamdMusicPlugin p; p.createInstance(mixer, &mididriver); return mididriver; } //#if PLUGIN_ENABLED_DYNAMIC(CAMD) - //REGISTER_PLUGIN_DYNAMIC(CAMD, PLUGIN_TYPE_MIDI, CamdMidiPlugin); + //REGISTER_PLUGIN_DYNAMIC(CAMD, PLUGIN_TYPE_MUSIC, CamdMusicPlugin); //#else - REGISTER_PLUGIN_STATIC(CAMD, PLUGIN_TYPE_MIDI, CamdMidiPlugin); + REGISTER_PLUGIN_STATIC(CAMD, PLUGIN_TYPE_MUSIC, CamdMusicPlugin); //#endif #endif |