Asterisk - The Open Source Telephony Project
GIT-master-3dee037
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
l
m
n
o
p
q
r
s
t
y
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Properties
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Modules
Pages
codecs
ex_lpc10.h
Go to the documentation of this file.
1
/*! \file
2
* \brief
3
*
4
* Copyright (C) 2008, Digium, Inc.
5
*
6
* Distributed under the terms of the GNU General Public License
7
*
8
*/
9
10
static
uint8_t
ex_lpc10
[] = {
11
0x01, 0x08, 0x31, 0x08, 0x31, 0x80, 0x30,
12
};
13
14
static
struct
ast_frame
*
lpc10_sample
(
void
)
15
{
16
static
struct
ast_frame
f = {
17
.
frametype
=
AST_FRAME_VOICE
,
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?? */
21
.
samples
=
LPC10_SAMPLES_PER_FRAME
,
22
.
mallocd
= 0,
23
.
offset
= 0,
24
.
src
= __PRETTY_FUNCTION__,
25
.
data
.ptr =
ex_lpc10
,
26
};
27
28
f.
subclass
.
format
=
ast_format_lpc10
;
29
30
return
&f;
31
}
ex_lpc10
static uint8_t ex_lpc10[]
Definition:
ex_lpc10.h:10
lpc10_sample
static struct ast_frame * lpc10_sample(void)
Definition:
ex_lpc10.h:14
ast_format_lpc10
struct ast_format * ast_format_lpc10
Built-in cached ilbc format.
Definition:
format_cache.c:126
AST_FRAME_VOICE
@ AST_FRAME_VOICE
Definition:
include/asterisk/frame.h:101
LPC10_SAMPLES_PER_FRAME
#define LPC10_SAMPLES_PER_FRAME
Definition:
lpc10.h:36
ast_frame_subclass::format
struct ast_format * format
Definition:
include/asterisk/frame.h:155
ast_frame
Data structure associated with a single frame of data.
Definition:
include/asterisk/frame.h:165
ast_frame::subclass
struct ast_frame_subclass subclass
Definition:
include/asterisk/frame.h:169
ast_frame::data
union ast_frame::@226 data
ast_frame::samples
int samples
Definition:
include/asterisk/frame.h:173
ast_frame::frametype
enum ast_frame_type frametype
Definition:
include/asterisk/frame.h:167
ast_frame::mallocd
int mallocd
Definition:
include/asterisk/frame.h:175
ast_frame::offset
int offset
Definition:
include/asterisk/frame.h:179
ast_frame::src
const char * src
Definition:
include/asterisk/frame.h:181
Generated on Wed Jan 1 2025 20:04:22 for Asterisk - The Open Source Telephony Project by
1.9.4