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
include
asterisk
sounds_index.h
Go to the documentation of this file.
1
/*
2
* Asterisk -- An open source telephony toolkit.
3
*
4
* Copyright (C) 2013, Digium, Inc.
5
*
6
* Kinsey Moore <kmoore@digium.com>
7
*
8
* See http://www.asterisk.org for more information about
9
* the Asterisk project. Please do not directly contact
10
* any of the maintainers of this project for assistance;
11
* the project provides a web site, mailing lists and IRC
12
* channels for your use.
13
*
14
* This program is free software, distributed under the terms of
15
* the GNU General Public License Version 2. See the LICENSE file
16
* at the top of the source tree.
17
*/
18
19
/*! \file
20
* \brief Sound file format and description indexer.
21
*/
22
23
#ifndef _ASTERISK_SOUNDS_INDEX_H
24
#define _ASTERISK_SOUNDS_INDEX_H
25
26
#if defined(__cplusplus) || defined(c_plusplus)
27
extern
"C"
{
28
#endif
29
30
/*!
31
* \brief Object representing a media index
32
*/
33
struct
ast_media_index
;
34
35
/*!
36
* \brief Get the sounds index
37
*
38
* \retval sounds index (must be ao2_cleanup()'ed)
39
* \retval NULL on failure
40
*/
41
struct
ast_media_index
*
ast_sounds_get_index
(
void
);
42
43
/*!
44
* \brief Get the index for a specific sound file
45
* \since 13.25.0
46
* \since 16.2.0
47
*
48
* \param filename Sound file name without extension
49
*
50
* \retval sounds index (must be ao2_cleanup()'ed)
51
* \retval NULL on failure
52
*/
53
struct
ast_media_index
*
ast_sounds_get_index_for_file
(
const
char
*filename);
54
55
56
#if defined(__cplusplus) || defined(c_plusplus)
57
}
58
#endif
59
60
#endif
/* _ASTERISK_SOUNDS_INDEX_H */
ast_sounds_get_index
struct ast_media_index * ast_sounds_get_index(void)
Get the sounds index.
Definition:
sounds.c:308
ast_sounds_get_index_for_file
struct ast_media_index * ast_sounds_get_index_for_file(const char *filename)
Get the index for a specific sound file.
Definition:
sounds.c:313
ast_media_index
Definition:
media_index.c:148
Generated on Wed Jan 1 2025 20:04:23 for Asterisk - The Open Source Telephony Project by
1.9.4