Random Data. More...

Go to the source code of this file.
Functions | |
| static struct ast_frame * | speex16_sample (void) |
| static struct ast_frame * | speex_sample (void) |
Variables | |
| static uint8_t | ex_speex [] |
| static uint8_t | ex_speex16 [] |
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* speex16_sample | ( | void | ) | [static, read] |
Definition at line 48 of file ex_speex.h.
References AST_FORMAT_SPEEX16, AST_FRAME_VOICE, ast_frame::data, ex_speex16, 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.codec = AST_FORMAT_SPEEX16,
.datalen = sizeof(ex_speex16),
/* All frames are 20 ms long */
.samples = SPEEX_SAMPLES,
.mallocd = 0,
.offset = 0,
.src = __PRETTY_FUNCTION__,
.data.ptr = ex_speex16,
};
return &f;
}
| 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.codec = 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().
uint8_t ex_speex16[] [static] |
Definition at line 34 of file ex_speex.h.
Referenced by speex16_sample().