PipeWire 0.3.77
Loading...
Searching...
No Matches
ape.h
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2023 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_AUDIO_APE_H
6#define SPA_AUDIO_APE_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#include <spa/param/audio/raw.h>
13
14struct spa_audio_info_ape {
15 uint32_t rate; /*< sample rate */
16 uint32_t channels; /*< number of channels */
17};
19#define SPA_AUDIO_INFO_APE_INIT(...) ((struct spa_audio_info_ape) { __VA_ARGS__ })
25#ifdef __cplusplus
26} /* extern "C" */
27#endif
28
29#endif /* SPA_AUDIO_APE_H */
spa/param/audio/raw.h
Definition: ape.h:18
uint32_t rate
Definition: ape.h:19
uint32_t channels
Definition: ape.h:20