diff options
author | Johannes Schickel | 2009-12-09 20:08:57 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-12-09 20:08:57 +0000 |
commit | 27e03012d5ee6555ec1988ad455f78aa53eb2c7a (patch) | |
tree | ca9781cdcad21004b123c0780a18a685f8315306 /sound/softsynth | |
parent | 0a1d16ef6b8b0671d97642abb050e353485cd051 (diff) | |
download | scummvm-rg350-27e03012d5ee6555ec1988ad455f78aa53eb2c7a.tar.gz scummvm-rg350-27e03012d5ee6555ec1988ad455f78aa53eb2c7a.tar.bz2 scummvm-rg350-27e03012d5ee6555ec1988ad455f78aa53eb2c7a.zip |
This is hopefully fixing compilation of the fluidsynth code.
svn-id: r46318
Diffstat (limited to 'sound/softsynth')
-rw-r--r-- | sound/softsynth/fluidsynth.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |