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