PipeWire  1.6.4
dts.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_H
6 #define SPA_AUDIO_DTS_H
7 
8 #include <spa/param/audio/raw.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
27 };
28 
35 struct spa_audio_info_dts {
36  uint32_t rate; /*< sample rate */
37  uint32_t channels; /*< number of channels */
38  enum spa_audio_dts_ext_type ext_type; /*< DTS-HD extension type */
39 };
40 
41 #define SPA_AUDIO_INFO_DTS_INIT(...) ((struct spa_audio_info_dts) { __VA_ARGS__ })
42 
47 #ifdef __cplusplus
48 } /* extern "C" */
49 #endif
50 
51 #endif /* SPA_AUDIO_DTS_H */
spa/param/audio/raw.h
spa_audio_dts_ext_type
Possible high-definition DTS extensions on top of core DTS.
Definition: dts.h:27
@ SPA_AUDIO_DTS_EXT_NONE
No extension present; this is just regular DTS data.
Definition: dts.h:29
@ SPA_AUDIO_DTS_EXT_UNKNOWN
Definition: dts.h:28
@ SPA_AUDIO_DTS_EXT_HD_MA
DTS-HD Master Audio (lossless HD audio extension)
Definition: dts.h:31
@ SPA_AUDIO_DTS_EXT_HD_HRA
DTS-HD High Resolution Audio (lossy HD audio extension)
Definition: dts.h:30
DTS Coherent Acoustics audio info.
Definition: dts.h:40
uint32_t channels
Definition: dts.h:42
enum spa_audio_dts_ext_type ext_type
Definition: dts.h:43
uint32_t rate
Definition: dts.h:41