Revision 2, 1.3 kB
(checked in by yumileroy, 17 years ago)
|
[svn] * Proper SVN structure
Original author: Neo2003
Date: 2008-10-02 16:23:55-05:00
|
Line | |
---|
1 | /* |
---|
2 | * wave.h -- header file for WAVe unplode functions used by mpq-tools. |
---|
3 | * |
---|
4 | * Copyright (C) 2003 Maik Broemme <mbroemme@plusserver.de> |
---|
5 | * |
---|
6 | * This source was adepted from the C++ version of wave.h included |
---|
7 | * in stormlib. The C++ version belongs to the following authors, |
---|
8 | * |
---|
9 | * Ladislav Zezula <ladik.zezula.net> |
---|
10 | * Tom Amigo <tomamigo@apexmail.com> |
---|
11 | * |
---|
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. |
---|
16 | * |
---|
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. |
---|
21 | * |
---|
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 | */ |
---|
26 | |
---|
27 | #ifndef _WAVE_H |
---|
28 | #define _WAVE_H |
---|
29 | |
---|
30 | typedef union { |
---|
31 | unsigned short *pw; |
---|
32 | unsigned char *pb; |
---|
33 | } byte_and_short; |
---|
34 | |
---|
35 | int libmpq_wave_decompress(unsigned char *out_buf, int out_length, unsigned char *in_buf, int in_length, int channels); |
---|
36 | |
---|
37 | #endif /* _WAVE_H */ |
---|