Loading...
Searching...
No Matches
ra.h
Go to the documentation of this file.
/* Simple Plugin API */
/* SPDX-FileCopyrightText: Copyright © 2023 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#ifndef SPA_AUDIO_RA_H
#define SPA_AUDIO_RA_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus
extern "C" {
#endif
struct spa_audio_info_ra {
uint32_t rate; /*< sample rate */
uint32_t channels; /*< number of channels */
};
#define SPA_AUDIO_INFO_RA_INIT(...) ((struct spa_audio_info_ra) { __VA_ARGS__ })
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* SPA_AUDIO_RA_H */
raw.h
spa/param/audio/raw.h
spa_audio_info_ra
Definition ra.h:24
spa_audio_info_ra::channels
uint32_t channels
Definition ra.h:26
spa_audio_info_ra::rate
uint32_t rate
Definition ra.h:25