Fixed RuntimeLibrary setting in VC80/framework.vcproj
[getmangos.git] / contrib / extractor / libmpq / wave.h
blob8920880a04fed5e68b7d3819e67487ecbba19328
1 /*
2 * wave.h -- header file for WAVe unplode functions used by mpq-tools.
4 * Copyright (C) 2003 Maik Broemme <mbroemme@plusserver.de>
6 * This source was adepted from the C++ version of wave.h included
7 * in stormlib. The C++ version belongs to the following authors,
9 * Ladislav Zezula <ladik.zezula.net>
10 * Tom Amigo <tomamigo@apexmail.com>
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 */
27 #ifndef _WAVE_H
28 #define _WAVE_H
30 typedef union {
31 unsigned short *pw;
32 unsigned char *pb;
33 } byte_and_short;
35 int libmpq_wave_decompress(unsigned char *out_buf, int out_length, unsigned char *in_buf, int in_length, int channels);
37 #endif /* _WAVE_H */