From 27e03012d5ee6555ec1988ad455f78aa53eb2c7a Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 9 Dec 2009 20:08:57 +0000 Subject: This is hopefully fixing compilation of the fluidsynth code. svn-id: r46318 --- sound/softsynth/fluidsynth.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sound/softsynth/fluidsynth.cpp') diff --git a/sound/softsynth/fluidsynth.cpp b/sound/softsynth/fluidsynth.cpp index a424543867..4cc54b8a6b 100644 --- a/sound/softsynth/fluidsynth.cpp +++ b/sound/softsynth/fluidsynth.cpp @@ -230,7 +230,7 @@ public: } MusicDevices getDevices() const; - Common::Error createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const; + Common::Error createInstance(MidiDriver **mididriver) const; }; MusicDevices FluidSynthMusicPlugin::getDevices() const { @@ -239,17 +239,17 @@ MusicDevices FluidSynthMusicPlugin::getDevices() const { return devices; } -Common::Error FluidSynthMusicPlugin::createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const { - *mididriver = new MidiDriver_FluidSynth(mixer); +Common::Error FluidSynthMusicPlugin::createInstance(MidiDriver **mididriver) const { + *mididriver = new MidiDriver_FluidSynth(_system->getMixer()); return Common::kNoError; } -MidiDriver *MidiDriver_FluidSynth_create(Audio::Mixer *mixer) { +MidiDriver *MidiDriver_FluidSynth_create() { MidiDriver *mididriver; FluidSynthMusicPlugin p; - p.createInstance(mixer, &mididriver); + p.createInstance(&mididriver); return mididriver; } -- cgit v1.2.3