
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 uint8_t | ex_slin16 [] |
| static uint8_t | ex_slin8 [] |
| static struct ast_frame* slin16_sample | ( | void | ) | [static, read] |
Definition at line 101 of file slin.h.
References ARRAY_LEN, AST_FORMAT_SLINEAR16, AST_FRAME_VOICE, ex_slin16, ast_frame::frametype, and ast_frame::samples.
00102 { 00103 static struct ast_frame f = { 00104 .frametype = AST_FRAME_VOICE, 00105 .subclass = AST_FORMAT_SLINEAR16, 00106 .datalen = sizeof(ex_slin16), 00107 .samples = ARRAY_LEN(ex_slin16) / 2, 00108 .mallocd = 0, 00109 .offset = 0, 00110 .src = __PRETTY_FUNCTION__, 00111 .data.ptr = ex_slin16, 00112 }; 00113 00114 return &f; 00115 }
| static struct ast_frame* slin8_sample | ( | void | ) | [static, read] |
Definition at line 85 of file slin.h.
References ARRAY_LEN, AST_FORMAT_SLINEAR, AST_FRAME_VOICE, ex_slin8, ast_frame::frametype, and ast_frame::samples.
00086 { 00087 static struct ast_frame f = { 00088 .frametype = AST_FRAME_VOICE, 00089 .subclass = AST_FORMAT_SLINEAR, 00090 .datalen = sizeof(ex_slin8), 00091 .samples = ARRAY_LEN(ex_slin8) / 2, 00092 .mallocd = 0, 00093 .offset = 0, 00094 .src = __PRETTY_FUNCTION__, 00095 .data.ptr = ex_slin8, 00096 }; 00097 00098 return &f; 00099 }
uint8_t ex_slin16[] [static] |
Definition at line 42 of file slin.h.
Referenced by slin16_sample().
uint8_t ex_slin8[] [static] |
Definition at line 19 of file slin.h.
Referenced by slin8_sample().
1.6.2