Loading...
Searching...
No Matches
dts.h
Go to the documentation of this file.
/* Simple Plugin API */
/* SPDX-FileCopyrightText: Copyright © 2025 Carlos Rafael Giani */
/* SPDX-License-Identifier: MIT */
#ifndef SPA_AUDIO_DTS_H
#define SPA_AUDIO_DTS_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus
extern "C" {
#endif
enum spa_audio_dts_ext_type {
SPA_AUDIO_DTS_EXT_UNKNOWN,
SPA_AUDIO_DTS_EXT_NONE,
SPA_AUDIO_DTS_EXT_HD_HRA,
SPA_AUDIO_DTS_EXT_HD_MA,
};
struct spa_audio_info_dts {
uint32_t rate; /*< sample rate */
uint32_t channels; /*< number of channels */
enum spa_audio_dts_ext_type ext_type; /*< DTS-HD extension type */
};
#define SPA_AUDIO_INFO_DTS_INIT(...) ((struct spa_audio_info_dts) { __VA_ARGS__ })
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* SPA_AUDIO_DTS_H */
raw.h
spa/param/audio/raw.h
spa_audio_dts_ext_type
spa_audio_dts_ext_type
Possible high-definition DTS extensions on top of core DTS.
Definition dts.h:27
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_audio_info_dts
DTS Coherent Acoustics audio info.
Definition dts.h:40
spa_audio_info_dts::channels
uint32_t channels
Definition dts.h:42
spa_audio_info_dts::ext_type
enum spa_audio_dts_ext_type ext_type
Definition dts.h:43
spa_audio_info_dts::rate
uint32_t rate
Definition dts.h:41