Asterisk - The Open Source Telephony Project GIT-master-f36a736
Functions | Variables
ex_lpc10.h File Reference

Copyright (C) 2008, Digium, Inc. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static struct ast_framelpc10_sample (void)
 

Variables

static uint8_t ex_lpc10 []
 

Detailed Description

Copyright (C) 2008, Digium, Inc.

Distributed under the terms of the GNU General Public License

Definition in file ex_lpc10.h.

Function Documentation

◆ lpc10_sample()

static struct ast_frame * lpc10_sample ( void  )
static

Definition at line 14 of file ex_lpc10.h.

15{
16 static struct ast_frame f = {
18 .datalen = sizeof(ex_lpc10),
19 /* All frames are 22 ms long (maybe a little more -- why did he choose
20 LPC10_SAMPLES_PER_FRAME sample frames anyway?? */
22 .mallocd = 0,
23 .offset = 0,
24 .src = __PRETTY_FUNCTION__,
25 .data.ptr = ex_lpc10,
26 };
27
29
30 return &f;
31}
static uint8_t ex_lpc10[]
Definition: ex_lpc10.h:10
struct ast_format * ast_format_lpc10
Built-in cached ilbc format.
Definition: format_cache.c:126
@ AST_FRAME_VOICE
#define LPC10_SAMPLES_PER_FRAME
Definition: lpc10.h:36
struct ast_format * format
Data structure associated with a single frame of data.
struct ast_frame_subclass subclass
union ast_frame::@226 data
enum ast_frame_type frametype
const char * src

References ast_format_lpc10, AST_FRAME_VOICE, ast_frame::data, ex_lpc10, ast_frame_subclass::format, ast_frame::frametype, LPC10_SAMPLES_PER_FRAME, ast_frame::mallocd, ast_frame::offset, ast_frame::samples, ast_frame::src, and ast_frame::subclass.

Variable Documentation

◆ ex_lpc10

uint8_t ex_lpc10[]
static
Initial value:
= {
0x01, 0x08, 0x31, 0x08, 0x31, 0x80, 0x30,
}

Definition at line 10 of file ex_lpc10.h.

Referenced by lpc10_sample().