From f32be876337e3b280ee4ea257e9868a0d61e399d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 5 Nov 2008 17:24:56 +0000 Subject: Turned enum PluginError into Common::Error, which in the future is to be used in more places. Help with this is highly welcome svn-id: r34906 --- sound/softsynth/ym2612.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sound/softsynth/ym2612.cpp') diff --git a/sound/softsynth/ym2612.cpp b/sound/softsynth/ym2612.cpp index 2a08bf631e..efdf292150 100644 --- a/sound/softsynth/ym2612.cpp +++ b/sound/softsynth/ym2612.cpp @@ -766,7 +766,7 @@ public: } MusicDevices getDevices() const; - PluginError createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const; + Common::Error createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const; }; MusicDevices TownsEmuMusicPlugin::getDevices() const { @@ -775,10 +775,10 @@ MusicDevices TownsEmuMusicPlugin::getDevices() const { return devices; } -PluginError TownsEmuMusicPlugin::createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const { +Common::Error TownsEmuMusicPlugin::createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const { *mididriver = new MidiDriver_YM2612(mixer); - return kNoError; + return Common::kNoError; } MidiDriver *MidiDriver_YM2612_create(Audio::Mixer *mixer) { -- cgit v1.2.3