
Go to the source code of this file.
Functions | |
| static struct ast_frame * | alaw_sample (void) |
Variables | |
| static uint8_t | ex_alaw [] |
Copyright (C) 2008, Digium, Inc.
Distributed under the terms of the GNU General Public License
Definition in file ex_alaw.h.
| static struct ast_frame* alaw_sample | ( | void | ) | [static, read] |
Definition at line 23 of file ex_alaw.h.
References ARRAY_LEN, AST_FORMAT_ALAW, ast_format_set(), AST_FRAME_VOICE, ex_alaw, ast_frame_subclass::format, ast_frame::frametype, ast_frame::samples, and ast_frame::subclass.
00024 { 00025 static struct ast_frame f = { 00026 .frametype = AST_FRAME_VOICE, 00027 .datalen = sizeof(ex_alaw), 00028 .samples = ARRAY_LEN(ex_alaw), 00029 .mallocd = 0, 00030 .offset = 0, 00031 .src = __PRETTY_FUNCTION__, 00032 .data.ptr = ex_alaw, 00033 }; 00034 ast_format_set(&f.subclass.format, AST_FORMAT_ALAW, 0); 00035 return &f; 00036 }
uint8_t ex_alaw[] [static] |
1.5.6