From 3a31402b1ea3cb62da6ddcac3f41570c7cfaa687 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 3 Jan 2014 19:35:55 -0800 Subject: Remove an unused method --- Alc/midi/base.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'Alc/midi/base.c') diff --git a/Alc/midi/base.c b/Alc/midi/base.c index e459b952..f6a9b5c7 100644 --- a/Alc/midi/base.c +++ b/Alc/midi/base.c @@ -151,18 +151,6 @@ void MidiSynth_Destruct(MidiSynth *self) ResetEvtQueue(&self->EventQueue); } -const char *MidiSynth_getFontName(const MidiSynth* UNUSED(self), const char *filename) -{ - if(!filename || !filename[0]) - filename = getenv("ALSOFT_SOUNDFONT"); - if(!filename || !filename[0]) - filename = GetConfigValue("midi", "soundfont", ""); - if(!filename[0]) - WARN("No default soundfont found\n"); - - return filename; -} - ALenum MidiSynth_selectSoundfonts(MidiSynth *self, ALCdevice *device, ALsizei count, const ALuint *ids) { ALsoundfont **sfonts; -- cgit v1.2.3