PipeWire 1.6.5

Loading...
Searching...
No Matches
truehd.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_TRUEHD_H
6#define SPA_AUDIO_TRUEHD_H
7
8#include <spa/param/audio/raw.h>
9
10#ifdef __cplusplus
11 extern "C" {
12#endif
13
18
20 struct spa_audio_info_truehd {
21 uint32_t rate; /*< sample rate */
22 uint32_t channels; /*< number of channels */
23};
24
25#define SPA_AUDIO_INFO_TRUEHD_INIT(...) ((struct spa_audio_info_truehd) { __VA_ARGS__ })
26
29
30
31#ifdef __cplusplus
32} /* extern "C" */
33#endif
34
35#endif /* SPA_AUDIO_TRUEHD_H */
raw.h
spa/param/audio/raw.h
spa_audio_info_truehd
Dolby TrueHD audio info.
Definition truehd.h:25
spa_audio_info_truehd::channels
uint32_t channels
Definition truehd.h:27
spa_audio_info_truehd::rate
uint32_t rate
Definition truehd.h:26