+ +
2da5fe7 OpenAVX v0.2.0 - High-performance open-standard IP audio and video transport suite
saifmukhtar · 2026-11-24
main
| 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 | |
| 14 | /** |
| 15 | * \addtogroup spa_param |
| 16 | * \{ |
| 17 | */ |
| 18 | |
| 19 | /** Dolby TrueHD audio info. */ |
| 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 | |
| 27 | /** |
| 28 | * \} |
| 29 | */ |
| 30 | |
| 31 | #ifdef __cplusplus |
| 32 | } /* extern "C" */ |
| 33 | #endif |
| 34 | |
| 35 | #endif /* SPA_AUDIO_TRUEHD_H */ |