4-bit G.726 data More...
Go to the source code of this file.
Functions | |
static struct ast_frame * | g726_sample (void) |
Variables | |
static uint8_t | ex_g726 [] |
4-bit G.726 data
Copyright (C) 2008, Digium, Inc.
Distributed under the terms of the GNU General Public License
Definition in file ex_g726.h.
static struct ast_frame* g726_sample | ( | void | ) | [static, read] |
Definition at line 18 of file ex_g726.h.
References ARRAY_LEN, AST_FORMAT_G726, AST_FRAME_VOICE, ex_g726, f, ast_frame::frametype, and ast_frame::samples.
{ static struct ast_frame f = { .frametype = AST_FRAME_VOICE, .subclass = AST_FORMAT_G726, .datalen = sizeof(ex_g726), .samples = ARRAY_LEN(ex_g726) * 2, /* 2 samples per byte */ .mallocd = 0, .offset = 0, .src = __PRETTY_FUNCTION__, .data.ptr = ex_g726, }; return &f; }
uint8_t ex_g726[] [static] |
Definition at line 10 of file ex_g726.h.
Referenced by g726_sample().