aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth
diff options
context:
space:
mode:
authorJohannes Schickel2009-12-09 20:08:57 +0000
committerJohannes Schickel2009-12-09 20:08:57 +0000
commit27e03012d5ee6555ec1988ad455f78aa53eb2c7a (patch)
treeca9781cdcad21004b123c0780a18a685f8315306 /sound/softsynth
parent0a1d16ef6b8b0671d97642abb050e353485cd051 (diff)
downloadscummvm-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.cpp10
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;
}