
Go to the source code of this file.
Functions | |
| static struct ast_frame * | g722_sample (void) |
Variables | |
| static uint8_t | ex_g722 [] |
Copyright (C) 2008, Digium, Inc.
Distributed under the terms of the GNU General Public License
Definition in file ex_g722.h.
| static struct ast_frame* g722_sample | ( | void | ) | [static, read] |
Definition at line 33 of file ex_g722.h.
References ARRAY_LEN, AST_FORMAT_G722, ast_format_set(), AST_FRAME_VOICE, ex_g722, ast_frame_subclass::format, ast_frame::frametype, ast_frame::samples, and ast_frame::subclass.
00034 { 00035 static struct ast_frame f = { 00036 .frametype = AST_FRAME_VOICE, 00037 .datalen = sizeof(ex_g722), 00038 .samples = ARRAY_LEN(ex_g722), 00039 .mallocd = 0, 00040 .offset = 0, 00041 .src = __PRETTY_FUNCTION__, 00042 .data.ptr = ex_g722, 00043 }; 00044 00045 ast_format_set(&f.subclass.format, AST_FORMAT_G722, 0); 00046 00047 return &f; 00048 }
uint8_t ex_g722[] [static] |
1.5.6