PipeWire 1.2.5
Loading...
Searching...
No Matches
ra.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2023 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_AUDIO_RA_H
6#define SPA_AUDIO_RA_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#include <spa/param/audio/raw.h>
13
19struct spa_audio_info_ra {
20 uint32_t rate; /*< sample rate */
21 uint32_t channels; /*< number of channels */
22};
23
24#define SPA_AUDIO_INFO_RA_INIT(...) ((struct spa_audio_info_ra) { __VA_ARGS__ })
30#ifdef __cplusplus
31} /* extern "C" */
32#endif
33
34#endif /* SPA_AUDIO_RA_H */
spa/param/audio/raw.h
Definition ra.h:24
uint32_t channels
Definition ra.h:26
uint32_t rate
Definition ra.h:25