PipeWire: spa/param/audio/dts-types.h Source File

PipeWire 1.6.8

Loading...
Searching...
No Matches
dts-types.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2025 Carlos Rafael Giani */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_AUDIO_DTS_TYPES_H
6#define SPA_AUDIO_DTS_TYPES_H
7
8#include <spa/utils/type.h>
9#include <spa/param/audio/dts.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
19
20#define SPA_TYPE_INFO_AudioDTSExtType SPA_TYPE_INFO_ENUM_BASE "AudioDTSExtType"
21#define SPA_TYPE_INFO_AUDIO_DTS_EXT_TYPE_BASE SPA_TYPE_INFO_AudioDTSExtType ":"
22
23static const struct spa_type_info spa_type_audio_dts_ext_type[] = {
24 { SPA_AUDIO_DTS_EXT_UNKNOWN, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_DTS_EXT_TYPE_BASE "UNKNOWN", NULL },
25 { SPA_AUDIO_DTS_EXT_NONE, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_DTS_EXT_TYPE_BASE "NONE", NULL },
26 { SPA_AUDIO_DTS_EXT_HD_HRA, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_DTS_EXT_TYPE_BASE "HRA", NULL },
27 { SPA_AUDIO_DTS_EXT_HD_MA, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_DTS_EXT_TYPE_BASE "MA", NULL },
28 { 0, 0, NULL, NULL },
29};
30
34
35#ifdef __cplusplus
36} /* extern "C" */
37#endif
38
39#endif /* SPA_AUDIO_DTS_TYPES_H */
dts.h
spa/param/audio/dts.h
spa_type_audio_dts_ext_type
static const struct spa_type_info spa_type_audio_dts_ext_type[]
Definition dts-types.h:30
SPA_TYPE_INFO_AUDIO_DTS_EXT_TYPE_BASE
#define SPA_TYPE_INFO_AUDIO_DTS_EXT_TYPE_BASE
Definition dts-types.h:28
SPA_AUDIO_DTS_EXT_NONE
@ SPA_AUDIO_DTS_EXT_NONE
No extension present; this is just regular DTS data.
Definition dts.h:29
SPA_AUDIO_DTS_EXT_UNKNOWN
@ SPA_AUDIO_DTS_EXT_UNKNOWN
Definition dts.h:28
SPA_AUDIO_DTS_EXT_HD_MA
@ SPA_AUDIO_DTS_EXT_HD_MA
DTS-HD Master Audio (lossless HD audio extension).
Definition dts.h:31
SPA_AUDIO_DTS_EXT_HD_HRA
@ SPA_AUDIO_DTS_EXT_HD_HRA
DTS-HD High Resolution Audio (lossy HD audio extension).
Definition dts.h:30
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition type.h:45
type.h
spa/utils/type.h
spa_type_info
Definition type.h:156