Asterisk - The Open Source Telephony Project GIT-master-b023714
Loading...
Searching...
No Matches
Functions | Variables
ex_g722.h File Reference

8-bit data More...

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

Go to the source code of this file.

Functions

static struct ast_frameg722_sample (void)
 

Variables

static uint8_t ex_g722 []
 

Detailed Description

8-bit data

Copyright (C) 2008, Digium, Inc.

Distributed under the terms of the GNU General Public License

Definition in file ex_g722.h.

Function Documentation

◆ g722_sample()

static struct ast_frame * g722_sample ( void  )
static

Definition at line 36 of file ex_g722.h.

37{
38 static struct ast_frame f = {
40 .datalen = sizeof(ex_g722),
42 .mallocd = 0,
43 .offset = 0,
44 .src = __PRETTY_FUNCTION__,
45 .data.ptr = ex_g722,
46 };
47
49
50 return &f;
51}
static uint8_t ex_g722[]
Definition ex_g722.h:13
struct ast_format * ast_format_slin
Built-in cached signed linear 8kHz format.
struct ast_format * format
Data structure associated with a single frame of data.
struct ast_frame_subclass subclass
enum ast_frame_type frametype
#define ARRAY_LEN(a)
Definition utils.h:703

References ARRAY_LEN, ast_format_slin, AST_FRAME_VOICE, ex_g722, ast_frame_subclass::format, ast_frame::frametype, ast_frame::samples, and ast_frame::subclass.

Variable Documentation

◆ ex_g722

uint8_t ex_g722[]
static

Definition at line 13 of file ex_g722.h.

13 {
14 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
15 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
16 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
17 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
18 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
19 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
20 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
21 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
22 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
23 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
24 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
25 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
26 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
27 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
28 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
29 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
30 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
31 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
32 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
33 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
34};

Referenced by g722_sample().