update epan/dissectors/pidl/drsuapi/drsuapi.idl from samba
[wireshark-sm.git] / wsutil / g711.h
blobd5196da89eaa6028b968abd7f6dd52859c63fc87
1 /** @file
3 * Definitions for routines for u-law, A-law and linear PCM conversions
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __G711_H__
13 #define __G711_H__
15 #include "ws_symbol_export.h"
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
21 WS_DLL_PUBLIC unsigned char linear2alaw( int );
22 WS_DLL_PUBLIC int alaw2linear( unsigned char );
23 WS_DLL_PUBLIC unsigned char linear2ulaw( int );
24 WS_DLL_PUBLIC int ulaw2linear( unsigned char );
26 #ifdef __cplusplus
28 #endif /* __cplusplus */
30 #endif /* __G711_H__ */