PipeWire  0.3.29
param/audio/type-info.h
Go to the documentation of this file.
1 /* Simple Plugin API
2  *
3  * Copyright © 2018 Wim Taymans
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice (including the next
13  * paragraph) shall be included in all copies or substantial portions of the
14  * Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22  * DEALINGS IN THE SOFTWARE.
23  */
24 
25 #ifndef SPA_AUDIO_TYPES_H
26 #define SPA_AUDIO_TYPES_H
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
37 #include <spa/param/audio/raw.h>
38 
39 #define SPA_TYPE_INFO_AudioFormat SPA_TYPE_INFO_ENUM_BASE "AudioFormat"
40 #define SPA_TYPE_INFO_AUDIO_FORMAT_BASE SPA_TYPE_INFO_AudioFormat ":"
41 
42 /* static */ const struct spa_type_info spa_type_audio_format[] = {
75 
84 
85 #if __BYTE_ORDER == __BIG_ENDIAN
114 #elif __BYTE_ORDER == __LITTLE_ENDIAN
143 #endif
144  { 0, 0, NULL, NULL },
145 };
146 
147 #define SPA_TYPE_INFO_AudioFlags SPA_TYPE_INFO_FLAGS_BASE "AudioFlags"
148 #define SPA_TYPE_INFO_AUDIO_FLAGS_BASE SPA_TYPE_INFO_AudioFlags ":"
149 
150 /* static */ const struct spa_type_info spa_type_audio_flags[] = {
153  { 0, 0, NULL, NULL },
154 };
155 
156 #define SPA_TYPE_INFO_AudioChannel SPA_TYPE_INFO_ENUM_BASE "AudioChannel"
157 #define SPA_TYPE_INFO_AUDIO_CHANNEL_BASE SPA_TYPE_INFO_AudioChannel ":"
158 
159 /* static */ const struct spa_type_info spa_type_audio_channel[] = {
198  { 0, 0, NULL, NULL },
199 };
200 
205 #ifdef __cplusplus
206 } /* extern "C" */
207 #endif
208 
209 #endif /* SPA_AUDIO_RAW_TYPES_H */
Definition: audio/raw.h:89
front left wide
Definition: audio/raw.h:194
const struct spa_type_info spa_type_audio_format[]
Definition: param/audio/type-info.h:42
top front right
Definition: audio/raw.h:188
Definition: audio/raw.h:67
front left high
Definition: audio/raw.h:197
top rear left
Definition: audio/raw.h:189
Definition: audio/raw.h:126
const struct spa_type_info spa_type_audio_flags[]
Definition: param/audio/type-info.h:150
Definition: audio/raw.h:115
Definition: audio/raw.h:125
Definition: audio/raw.h:75
bottom center
Definition: audio/raw.h:206
top front center
Definition: audio/raw.h:187
top front left
Definition: audio/raw.h:186
Definition: audio/raw.h:74
top center
Definition: audio/raw.h:185
Definition: audio/raw.h:114
Definition: audio/raw.h:91
Definition: audio/raw.h:132
Definition: audio/raw.h:87
Definition: audio/raw.h:129
Definition: audio/raw.h:54
top front right center
Definition: audio/raw.h:201
front center high
Definition: audio/raw.h:198
front right wide
Definition: audio/raw.h:195
Definition: audio/raw.h:130
Definition: audio/raw.h:62
Definition: audio/raw.h:63
rear right
Definition: audio/raw.h:184
mono stream
Definition: audio/raw.h:172
Definition: audio/raw.h:68
LFE.
Definition: audio/raw.h:177
Definition: audio/raw.h:80
N/A, silent.
Definition: audio/raw.h:170
left LFE
Definition: audio/raw.h:204
Definition: audio/raw.h:52
Definition: audio/raw.h:58
Definition: audio/raw.h:127
Definition: x86_64-redhat-linux-gnu/doc/spa/utils/type.h:136
Definition: audio/raw.h:47
Definition: audio/raw.h:77
#define SPA_TYPE_INFO_AUDIO_FLAGS_BASE
Definition: param/audio/type-info.h:148
Definition: audio/raw.h:106
Definition: audio/raw.h:121
Definition: audio/raw.h:60
Definition: audio/raw.h:124
Definition: audio/raw.h:108
Definition: audio/raw.h:111
Definition: audio/raw.h:66
top side left
Definition: audio/raw.h:202
Definition: audio/raw.h:61
rear right center
Definition: audio/raw.h:193
Definition: audio/raw.h:70
Definition: audio/raw.h:78
front left center
Definition: audio/raw.h:180
Definition: audio/raw.h:90
bottom left center
Definition: audio/raw.h:207
Definition: audio/raw.h:105
Definition: audio/raw.h:56
Definition: audio/raw.h:55
Definition: audio/raw.h:107
Definition: audio/raw.h:116
Definition: audio/raw.h:71
Definition: audio/raw.h:46
rear left center
Definition: audio/raw.h:192
Definition: audio/raw.h:88
Definition: x86_64-redhat-linux-gnu/doc/spa/utils/type.h:48
Definition: audio/raw.h:79
Definition: audio/raw.h:118
LFE 2.
Definition: audio/raw.h:196
rear center
Definition: audio/raw.h:182
top rear center
Definition: audio/raw.h:190
front left
Definition: audio/raw.h:174
Definition: audio/raw.h:117
bottom right center
Definition: audio/raw.h:208
Definition: audio/raw.h:122
const struct spa_type_info spa_type_audio_channel[]
Definition: param/audio/type-info.h:159
Definition: audio/raw.h:57
Definition: audio/raw.h:51
top side right
Definition: audio/raw.h:203
Definition: audio/raw.h:131
side right
Definition: audio/raw.h:179
Definition: audio/raw.h:123
unspecified
Definition: audio/raw.h:169
Definition: audio/raw.h:110
front right high
Definition: audio/raw.h:199
front right center
Definition: audio/raw.h:181
Definition: audio/raw.h:64
rear left
Definition: audio/raw.h:183
Definition: audio/raw.h:59
Definition: audio/raw.h:65
Definition: audio/raw.h:128
#define SPA_TYPE_INFO_AUDIO_FORMAT_BASE
Definition: param/audio/type-info.h:40
#define SPA_AUDIO_FLAG_UNPOSITIONED
Definition: audio/raw.h:215
Definition: audio/raw.h:119
Definition: audio/raw.h:73
Definition: audio/raw.h:69
top front left center
Definition: audio/raw.h:200
front center
Definition: audio/raw.h:176
front right
Definition: audio/raw.h:175
Definition: audio/raw.h:86
Definition: audio/raw.h:120
#define SPA_AUDIO_FLAG_NONE
Extra audio flags.
Definition: audio/raw.h:214
top rear right
Definition: audio/raw.h:191
Definition: audio/raw.h:72
Definition: audio/raw.h:113
Definition: audio/raw.h:109
Definition: audio/raw.h:112
right LFE
Definition: audio/raw.h:205
side left
Definition: audio/raw.h:178
Definition: audio/raw.h:85
Definition: audio/raw.h:84
#define SPA_TYPE_INFO_AUDIO_CHANNEL_BASE
Definition: param/audio/type-info.h:157
Definition: audio/raw.h:76
Definition: audio/raw.h:53