Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Functions
a
b
c
d
e
f
h
i
l
n
o
p
r
s
t
u
v
Variables
Typedefs
Enumerations
a
c
d
f
h
i
l
m
p
r
s
t
v
Enumerator
a
c
d
f
h
i
l
m
p
r
s
t
u
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
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
~
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
~
Variables
a
b
c
d
e
f
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Typedefs
Enumerations
Enumerator
b
c
d
e
f
i
m
n
q
r
s
x
Files
File List
File Members
All
f
o
r
Functions
Variables
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
sndfile_extension_table.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 Roc Streaming authors
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
//! @file roc_sndio/target_sndfile/roc_sndio/sndfile_extension_table.h
10
//! @brief Sndfile driver map.
11
12
#ifndef ROC_SNDIO_SNDFILE_EXTENSION_TABLE_H_
13
#define ROC_SNDIO_SNDFILE_EXTENSION_TABLE_H_
14
15
//! Sndfile driver map.
16
struct
FileMap
{
17
//! SF_FORMAT ID corresponding to the enum value in sndfile.h
18
int
format_id
;
19
//! Name of driver mapped to SF_FORMAT
20
const
char
*
driver_name
;
21
//! File extension associated with driver and SF_FORMAT if it exists.
22
const
char
*
file_extension
;
23
};
24
25
//! Declare the file_type_map as extern
26
extern
FileMap
file_type_map
[5];
27
28
#endif
// ROC_SNDIO_SNDFILE_EXTENSION_TABLE_H_
file_type_map
FileMap file_type_map[5]
Declare the file_type_map as extern.
FileMap
Sndfile driver map.
Definition:
sndfile_extension_table.h:16
FileMap::file_extension
const char * file_extension
File extension associated with driver and SF_FORMAT if it exists.
Definition:
sndfile_extension_table.h:22
FileMap::driver_name
const char * driver_name
Name of driver mapped to SF_FORMAT.
Definition:
sndfile_extension_table.h:20
FileMap::format_id
int format_id
SF_FORMAT ID corresponding to the enum value in sndfile.h.
Definition:
sndfile_extension_table.h:18
roc_sndio
target_sndfile
roc_sndio
sndfile_extension_table.h
Generated by
1.9.1