Copyright (C) 2008, Digium, Inc. More...
Go to the source code of this file.
Functions | |
static struct ast_frame * | lpc10_sample (void) |
Variables | |
static uint8_t | ex_lpc10 [] |
Copyright (C) 2008, Digium, Inc.
Distributed under the terms of the GNU General Public License
Definition in file ex_lpc10.h.
static struct ast_frame* lpc10_sample | ( | void | ) | [static, read] |
Definition at line 14 of file ex_lpc10.h.
References AST_FORMAT_LPC10, AST_FRAME_VOICE, ast_frame::data, ex_lpc10, ast_frame::frametype, ast_frame::mallocd, ast_frame::offset, ast_frame::samples, and ast_frame::src.
00015 { 00016 static struct ast_frame f = { 00017 .frametype = AST_FRAME_VOICE, 00018 .subclass.codec = AST_FORMAT_LPC10, 00019 .datalen = sizeof(ex_lpc10), 00020 /* All frames are 22 ms long (maybe a little more -- why did he choose 00021 LPC10_SAMPLES_PER_FRAME sample frames anyway?? */ 00022 .samples = LPC10_SAMPLES_PER_FRAME, 00023 .mallocd = 0, 00024 .offset = 0, 00025 .src = __PRETTY_FUNCTION__, 00026 .data.ptr = ex_lpc10, 00027 }; 00028 00029 return &f; 00030 }
uint8_t ex_lpc10[] [static] |
{ 0x01, 0x08, 0x31, 0x08, 0x31, 0x80, 0x30, }
Definition at line 10 of file ex_lpc10.h.
Referenced by lpc10_sample().