PipeWire 1.2.1
Loading...
Searching...
No Matches
mp3.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_MP3_H
6#define SPA_AUDIO_MP3_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#include <spa/param/audio/raw.h>
13
25};
28 uint32_t rate; /*< sample rate */
29 uint32_t channels; /*< number of channels */
30};
31
32#define SPA_AUDIO_INFO_MP3_INIT(...) ((struct spa_audio_info_mp3) { __VA_ARGS__ })
38#ifdef __cplusplus
39} /* extern "C" */
40#endif
41
42#endif /* SPA_AUDIO_MP3_H */
spa/param/audio/raw.h
spa_audio_mp3_channel_mode
Definition mp3.h:24
@ SPA_AUDIO_MP3_CHANNEL_MODE_JOINTSTEREO
Definition mp3.h:28
@ SPA_AUDIO_MP3_CHANNEL_MODE_MONO
Definition mp3.h:26
@ SPA_AUDIO_MP3_CHANNEL_MODE_UNKNOWN
Definition mp3.h:25
@ SPA_AUDIO_MP3_CHANNEL_MODE_DUAL
Definition mp3.h:29
@ SPA_AUDIO_MP3_CHANNEL_MODE_STEREO
Definition mp3.h:27
Definition mp3.h:32
uint32_t rate
Definition mp3.h:33
uint32_t channels
Definition mp3.h:34