Mercurial > audlegacy-plugins
comparison src/adplug/core/a2m.h @ 952:87666f9bf6d0 trunk
[svn] Upstream commit "Vastly enhanced generic Protracker player and modified loaders accordingly.
Copl now supports a getchip() method. A2M loader enhanced for OPL3 features." manually applied by decoding the actual changes from an ocean of whitespace damage. It compiles, but do test it.
author | chainsaw |
---|---|
date | Fri, 13 Apr 2007 09:09:50 -0700 |
parents | cae46214b8bf |
children |
comparison
equal
deleted
inserted
replaced
951:df18b664f4e0 | 952:87666f9bf6d0 |
---|---|
1 /* | 1 /* |
2 * Adplug - Replayer for many OPL2/OPL3 audio file formats. | 2 * Adplug - Replayer for many OPL2/OPL3 audio file formats. |
3 * Copyright (C) 1999 - 2002 Simon Peter, <dn.tlp@gmx.net>, et al. | 3 * Copyright (C) 1999 - 2007 Simon Peter, <dn.tlp@gmx.net>, et al. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Lesser General Public | 6 * modify it under the terms of the GNU Lesser General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2.1 of the License, or (at your option) any later version. | 8 * version 2.1 of the License, or (at your option) any later version. |
16 * License along with this library; if not, write to the Free Software | 16 * License along with this library; if not, write to the Free Software |
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
18 * | 18 * |
19 * a2m.h - A2M Loader by Simon Peter <dn.tlp@gmx.net> | 19 * a2m.h - A2M Loader by Simon Peter <dn.tlp@gmx.net> |
20 */ | 20 */ |
21 | |
22 #ifndef H_ADPLUG_A2MLOADER | |
23 #define H_ADPLUG_A2MLOADER | |
21 | 24 |
22 #include "protrack.h" | 25 #include "protrack.h" |
23 | 26 |
24 class Ca2mLoader: public CmodPlayer | 27 class Ca2mLoader: public CmodPlayer |
25 { | 28 { |
76 unsigned short ibitcount, ibitbuffer, ibufcount, obufcount, input_size, | 79 unsigned short ibitcount, ibitbuffer, ibufcount, obufcount, input_size, |
77 output_size, leftc[ADPLUG_A2M_MAXCHAR+1], rghtc[ADPLUG_A2M_MAXCHAR+1], | 80 output_size, leftc[ADPLUG_A2M_MAXCHAR+1], rghtc[ADPLUG_A2M_MAXCHAR+1], |
78 dad[ADPLUG_A2M_TWICEMAX+1], freq[ADPLUG_A2M_TWICEMAX+1], *wdbuf; | 81 dad[ADPLUG_A2M_TWICEMAX+1], freq[ADPLUG_A2M_TWICEMAX+1], *wdbuf; |
79 unsigned char *obuf, *buf; | 82 unsigned char *obuf, *buf; |
80 }; | 83 }; |
84 #endif | |
85 |