PipeWire  1.6.4
eac3.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_EAC3_H
6 #define SPA_AUDIO_EAC3_H
7 
8 #include <spa/param/audio/raw.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
20 struct spa_audio_info_eac3 {
21  uint32_t rate; /*< sample rate */
22  uint32_t channels; /*< number of channels */
23 };
24 
25 #define SPA_AUDIO_INFO_EAC3_INIT(...) ((struct spa_audio_info_eac3) { __VA_ARGS__ })
26 
31 #ifdef __cplusplus
32 } /* extern "C" */
33 #endif
34 
35 #endif /* SPA_AUDIO_EAC3_H */
spa/param/audio/raw.h
Dolby E-AC-3 audio info.
Definition: eac3.h:25
uint32_t channels
Definition: eac3.h:27
uint32_t rate
Definition: eac3.h:26