PipeWire  1.6.4
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 
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 
31 #ifdef __cplusplus
32 } /* extern "C" */
33 #endif
34 
35 #endif /* SPA_AUDIO_TRUEHD_H */
spa/param/audio/raw.h
Dolby TrueHD audio info.
Definition: truehd.h:25
uint32_t channels
Definition: truehd.h:27
uint32_t rate
Definition: truehd.h:26