replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later.
[metze/wireshark/wip.git] / codecs / G711a / G711adecode.h
1 /* G711adecode.h
2  * Definitions for A-law G.711 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 #ifndef __CODECS_G711ADECODE_H__
11 #define __CODECS_G711ADECODE_H__
12
13 void *codec_g711a_init(void);
14 void  codec_g711a_release(void *ctx);
15 unsigned codec_g711a_get_channels(void *ctx);
16 unsigned codec_g711a_get_frequency(void *ctx);
17 size_t codec_g711a_decode(void *ctx, const void *input, size_t inputSizeBytes, void *output,
18         size_t *outputSizeBytes);
19
20 #endif /* G711adecode.h */
21
22 /*
23  * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
24  *
25  * Local variables:
26  * c-basic-offset: 4
27  * tab-width: 8
28  * indent-tabs-mode: nil
29  * End:
30  *
31  * vi: set shiftwidth=4 tabstop=8 expandtab:
32  * :indentSize=4:tabSize=8:noTabs=true:
33  */