MSWSP: parse_CColumnGroupArray() etc.
[wireshark-wip.git] / wsutil / g711.h
blob8dc7d206eff684b5d97172963734c8b512277fd4
1 /*
2 * g711.h
4 * Definitions for routines for u-law, A-law and linear PCM conversions
6 * $Id$
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 #ifndef __G711_H__
28 #define __G711_H__
30 #include "ws_symbol_export.h"
32 #ifdef __cplusplus
33 extern "C" {
34 #endif /* __cplusplus */
36 WS_DLL_PUBLIC unsigned char linear2alaw( int );
37 WS_DLL_PUBLIC int alaw2linear( unsigned char );
38 WS_DLL_PUBLIC unsigned char linear2ulaw( int );
39 WS_DLL_PUBLIC int ulaw2linear( unsigned char );
41 #ifdef __cplusplus
43 #endif /* __cplusplus */
45 #endif /* __G711_H__ */