Go to the source code of this file.
Functions | |
static struct ast_frame * | slin16_sample (void) |
static struct ast_frame * | slin8_sample (void) |
Variables | |
static uint16_t | ex_slin16 [] |
static uint16_t | ex_slin8 [] |
static struct ast_frame* slin16_sample | ( | void | ) | [inline, static] |
Definition at line 77 of file slin.h.
References ARRAY_LEN, AST_FORMAT_SLINEAR16, AST_FRAME_VOICE, ex_slin16, f, and ast_frame::samples.
00078 { 00079 static struct ast_frame f = { 00080 .frametype = AST_FRAME_VOICE, 00081 .subclass.codec = AST_FORMAT_SLINEAR16, 00082 .datalen = sizeof(ex_slin16) * 2, 00083 .samples = ARRAY_LEN(ex_slin16), 00084 .mallocd = 0, 00085 .offset = 0, 00086 .src = __PRETTY_FUNCTION__, 00087 .data.ptr = ex_slin16, 00088 }; 00089 00090 return &f; 00091 }
static struct ast_frame* slin8_sample | ( | void | ) | [inline, static] |
Definition at line 61 of file slin.h.
References ARRAY_LEN, AST_FORMAT_SLINEAR, AST_FRAME_VOICE, ex_slin8, f, and ast_frame::samples.
00062 { 00063 static struct ast_frame f = { 00064 .frametype = AST_FRAME_VOICE, 00065 .subclass.codec = AST_FORMAT_SLINEAR, 00066 .datalen = sizeof(ex_slin8) * 2, 00067 .samples = ARRAY_LEN(ex_slin8), 00068 .mallocd = 0, 00069 .offset = 0, 00070 .src = __PRETTY_FUNCTION__, 00071 .data.ptr = ex_slin8, 00072 }; 00073 00074 return &f; 00075 }
uint16_t ex_slin16[] [static] |
uint16_t ex_slin8[] [static] |