mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 01:15:58 +00:00
AUDIO: FluidSynth Don't accept soundfont data if using version 1.x
This commit is contained in:
parent
6fb49b6595
commit
bd4939a2a4
@ -72,7 +72,13 @@ public:
|
||||
MidiChannel *getPercussionChannel() override;
|
||||
|
||||
void setEngineSoundFont(Common::SeekableReadStream *soundFontData) override;
|
||||
bool acceptsSoundFontData() override { return true; }
|
||||
bool acceptsSoundFontData() override {
|
||||
#if defined(FLUIDSYNTH_VERSION_MAJOR) && FLUIDSYNTH_VERSION_MAJOR > 1
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
// AudioStream API
|
||||
bool isStereo() const override { return true; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user