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