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

PipeWire 1.6.5

Loading...
Searching...
No Matches
flac.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_FLAC_H
6#define SPA_AUDIO_FLAC_H
7
8#include <spa/param/audio/raw.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
18
19struct spa_audio_info_flac {
20 uint32_t rate; /*< sample rate */
21 uint32_t channels; /*< number of channels */
22};
23
24#define SPA_AUDIO_INFO_FLAC_INIT(...) ((struct spa_audio_info_flac) { __VA_ARGS__ })
25
28
29
30#ifdef __cplusplus
31} /* extern "C" */
32#endif
33
34#endif /* SPA_AUDIO_FLAC_H */
raw.h
spa/param/audio/raw.h
spa_audio_info_flac
Definition flac.h:24
spa_audio_info_flac::channels
uint32_t channels
Definition flac.h:26
spa_audio_info_flac::rate
uint32_t rate
Definition flac.h:25