aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/base.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-03 19:35:55 -0800
committerChris Robinson <[email protected]>2014-01-03 19:35:55 -0800
commit3a31402b1ea3cb62da6ddcac3f41570c7cfaa687 (patch)
tree51e614db41863544da09323b5569b966b59a7771 /Alc/midi/base.c
parentd9846f321987230e16e09ac643f50dba893abd70 (diff)
Remove an unused method
Diffstat (limited to 'Alc/midi/base.c')
-rw-r--r--Alc/midi/base.c12
1 files changed, 0 insertions, 12 deletions
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;