Raw 8-bit data. More...
Go to the source code of this file.
Functions | |
static struct ast_frame * | ilbc_sample (void) |
Variables | |
static uint8_t | ex_ilbc [] |
Raw 8-bit data.
Copyright (C) 2008, Digium, Inc.
Distributed under the terms of the GNU General Public License
Definition in file ex_ilbc.h.
static struct ast_frame* ilbc_sample | ( | void | ) | [static, read] |
Definition at line 18 of file ex_ilbc.h.
References AST_FORMAT_ILBC, AST_FRAME_VOICE, ast_frame::data, ex_ilbc, f, ast_frame::frametype, ILBC_SAMPLES, ast_frame::mallocd, ast_frame::offset, ast_frame::samples, and ast_frame::src.
{ static struct ast_frame f = { .frametype = AST_FRAME_VOICE, .subclass = AST_FORMAT_ILBC, .datalen = sizeof(ex_ilbc), /* All frames are 30 ms long */ .samples = ILBC_SAMPLES, .mallocd = 0, .offset = 0, .src = __PRETTY_FUNCTION__, .data.ptr = ex_ilbc, }; return &f; }
uint8_t ex_ilbc[] [static] |
Definition at line 10 of file ex_ilbc.h.
Referenced by ilbc_sample().