--- /dev/null
+/*\r
+Copyright (C) 1999-2007 id Software, Inc. and contributors.\r
+For a list of contributors, see the accompanying CONTRIBUTORS file.\r
+\r
+This file is part of GtkRadiant.\r
+\r
+GtkRadiant is free software; you can redistribute it and/or modify\r
+it under the terms of the GNU General Public License as published by\r
+the Free Software Foundation; either version 2 of the License, or\r
+(at your option) any later version.\r
+\r
+GtkRadiant is distributed in the hope that it will be useful,\r
+but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+GNU General Public License for more details.\r
+\r
+You should have received a copy of the GNU General Public License\r
+along with GtkRadiant; if not, write to the Free Software\r
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\r
+*/\r
+\r
+/*\r
+** adpcm.h - include file for adpcm coder.\r
+**\r
+** Version 1.0, 7-Jul-92.\r
+** \r
+** Modded 10/3/98\r
+** John Scott\r
+*/\r
+\r
+typedef struct adpcm_state_s\r
+{\r
+ short in_valprev; // Previous output value\r
+ short in_index; // Index into stepsize table\r
+ short out_valprev; // Previous output value\r
+ short out_index; // Index into stepsize table\r
+ int count; // Number of sample counts\r
+} adpcm_state_t;\r
+\r
+typedef struct adpcm_s\r
+{\r
+ adpcm_state_t state;\r
+ char adpcm[0x10000]; \r
+} adpcm_t;\r
+\r
+void adpcm_coder(short [], adpcm_t *);\r
+void adpcm_decoder(adpcm_t *, short []);\r
+\r
+// end\r