mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
AUDIO: Fix unused functions with older FluidSynth versions
This commit is contained in:
parent
e95f86f9e2
commit
65164e00d4
@ -126,6 +126,7 @@ void MidiDriver_FluidSynth::setStr(const char *name, const char *val) {
|
||||
|
||||
// Soundfont memory loader callback functions.
|
||||
|
||||
#if defined(FLUIDSYNTH_VERSION_MAJOR) && FLUIDSYNTH_VERSION_MAJOR > 1
|
||||
static void *SoundFontMemLoader_open(const char *filename) {
|
||||
void *p;
|
||||
if (filename[0] != '&') {
|
||||
@ -151,6 +152,7 @@ static int SoundFontMemLoader_close(void *handle) {
|
||||
static long SoundFontMemLoader_tell(void *handle) {
|
||||
return ((Common::SeekableReadStream *) handle)->pos();
|
||||
}
|
||||
#endif
|
||||
|
||||
int MidiDriver_FluidSynth::open() {
|
||||
if (_isOpen)
|
||||
|
Loading…
Reference in New Issue
Block a user