2 * \brief 4-bit ADPCM data
4 * Copyright (C) 2008, Digium, Inc.
6 * Distributed under the terms of the GNU General Public License
10 static uint8_t ex_adpcm[] = {
11 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
12 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
13 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
14 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
15 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
18 static struct ast_frame *adpcm_sample(void)
20 static struct ast_frame f = {
21 .frametype = AST_FRAME_VOICE,
22 .datalen = sizeof(ex_adpcm),
23 .samples = ARRAY_LEN(ex_adpcm) * 2,
26 .src = __PRETTY_FUNCTION__,
30 f.subclass.format = ast_format_adpcm;