annotate decoders/timidity/instrum_dls.h @ 591:8faf61a640f0 tip

Resynced fixes for unit conversion bugs in the Ogg Tremor decoder from SoundDecoder/ALmixer. Ogg Vorbis uses seconds and we multiply by 1000 to convert to milliseconds. But Ogg Tremor already uses milliseconds but I was still multiplying by 1000.
author Eric Wing <ewing . public |-at-| gmail . com>
date Thu, 25 Oct 2012 16:34:18 -0700
parents cbc2a4ffeeec
children
rev   line source
455
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
1 /*
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
2
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
3 TiMidity -- Experimental MIDI to WAVE converter
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
4 Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
5
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
6 This program is free software; you can redistribute it and/or modify
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
8 the Free Software Foundation; either version 2 of the License, or
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
9 (at your option) any later version.
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
10
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
11 This program is distributed in the hope that it will be useful,
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
14 GNU General Public License for more details.
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
15
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
17 along with this program; if not, write to the Free Software
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
19
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
20 instrum.h
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
21
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
22 */
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
23
cbc2a4ffeeec * Added support for loading DLS format instruments:
hercules
parents:
diff changeset
24 extern Instrument *load_instrument_dls(MidiSong *song, int drum, int bank, int instrument);