PipeWire 1.2.6

Loading...
Searching...
No Matches
iec958-types.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_AUDIO_IEC958_TYPES_H
6#define SPA_AUDIO_IEC958_TYPES_H
7
8#ifdef __cplusplus
9 extern "C" {
10#endif
11
12#include <spa/utils/type.h>
13#include <spa/param/audio/iec958.h>
14
20#define SPA_TYPE_INFO_AudioIEC958Codec SPA_TYPE_INFO_ENUM_BASE "AudioIEC958Codec"
21#define SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE SPA_TYPE_INFO_AudioIEC958Codec ":"
22
23 static const struct spa_type_info spa_type_audio_iec958_codec[] = {
24 { SPA_AUDIO_IEC958_CODEC_UNKNOWN, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE "UNKNOWN", NULL },
25 { SPA_AUDIO_IEC958_CODEC_PCM, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE "PCM", NULL },
26 { SPA_AUDIO_IEC958_CODEC_DTS, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE "DTS", NULL },
27 { SPA_AUDIO_IEC958_CODEC_AC3, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE "AC3", NULL },
28 { SPA_AUDIO_IEC958_CODEC_MPEG, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE "MPEG", NULL },
29 { SPA_AUDIO_IEC958_CODEC_MPEG2_AAC, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE "MPEG2-AAC", NULL },
30 { SPA_AUDIO_IEC958_CODEC_EAC3, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE "EAC3", NULL },
31 { SPA_AUDIO_IEC958_CODEC_TRUEHD, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE "TrueHD", NULL },
32 { SPA_AUDIO_IEC958_CODEC_DTSHD, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE "DTS-HD", NULL },
33 { 0, 0, NULL, NULL },
34};
35
40#ifdef __cplusplus
41} /* extern "C" */
42#endif
43
44#endif /* SPA_AUDIO_RAW_IEC958_TYPES_H */
spa_type_audio_iec958_codec
static const struct spa_type_info spa_type_audio_iec958_codec[]
Definition iec958-types.h:30
SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE
#define SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE
Definition iec958-types.h:28
SPA_AUDIO_IEC958_CODEC_MPEG2_AAC
@ SPA_AUDIO_IEC958_CODEC_MPEG2_AAC
MPEG-2 AAC.
Definition iec958.h:30
SPA_AUDIO_IEC958_CODEC_AC3
@ SPA_AUDIO_IEC958_CODEC_AC3
Definition iec958.h:28
SPA_AUDIO_IEC958_CODEC_UNKNOWN
@ SPA_AUDIO_IEC958_CODEC_UNKNOWN
Definition iec958.h:24
SPA_AUDIO_IEC958_CODEC_MPEG
@ SPA_AUDIO_IEC958_CODEC_MPEG
MPEG-1 or MPEG-2 (Part 3, not AAC)
Definition iec958.h:29
SPA_AUDIO_IEC958_CODEC_DTSHD
@ SPA_AUDIO_IEC958_CODEC_DTSHD
DTS-HD Master Audio.
Definition iec958.h:35
SPA_AUDIO_IEC958_CODEC_EAC3
@ SPA_AUDIO_IEC958_CODEC_EAC3
Definition iec958.h:32
SPA_AUDIO_IEC958_CODEC_TRUEHD
@ SPA_AUDIO_IEC958_CODEC_TRUEHD
Dolby TrueHD.
Definition iec958.h:34
SPA_AUDIO_IEC958_CODEC_PCM
@ SPA_AUDIO_IEC958_CODEC_PCM
Definition iec958.h:26
SPA_AUDIO_IEC958_CODEC_DTS
@ SPA_AUDIO_IEC958_CODEC_DTS
Definition iec958.h:27
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition type.h:34
iec958.h
spa/param/audio/iec958.h
type.h
spa/utils/type.h
spa_type_info
Definition type.h:143