PipeWire: spa/param/audio/ac3.h Source File

PipeWire 1.6.6

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