Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
G722decode.h
1 /* G722decode.h
2  * Definitions for G.722 codec
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __CODECS_G722DECODE_H__
12 #define __CODECS_G722DECODE_H__
13 
14 void *codec_g722_init(void);
15 void codec_g722_release(void *ctx);
16 unsigned codec_g722_get_channels(void *ctx);
17 unsigned codec_g722_get_frequency(void *ctx);
18 size_t codec_g722_decode(void *ctx, const void *input, size_t inputSizeBytes, void *output,
19  size_t *outputSizeBytes);
20 
21 #endif /* G722decode.h */
22 
23 /*
24  * Editor modelines - http://www.wireshark.org/tools/modelines.html
25  *
26  * Local variables:
27  * c-basic-offset: 4
28  * tab-width: 8
29  * indent-tabs-mode: nil
30  * End:
31  *
32  * vi: set shiftwidth=4 tabstop=8 expandtab:
33  * :indentSize=4:tabSize=8:noTabs=true:
34  */