PipeWire
1.2.5
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
9
extern
"C"
{
10
#endif
11
12
#include <
spa/param/audio/raw.h
>
13
19
enum
spa_audio_mp3_channel_mode
{
20
SPA_AUDIO_MP3_CHANNEL_MODE_UNKNOWN
,
21
SPA_AUDIO_MP3_CHANNEL_MODE_MONO
,
22
SPA_AUDIO_MP3_CHANNEL_MODE_STEREO
,
23
SPA_AUDIO_MP3_CHANNEL_MODE_JOINTSTEREO
,
24
SPA_AUDIO_MP3_CHANNEL_MODE_DUAL
,
25
};
26
27
struct
spa_audio_info_mp3
{
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__ })
33
38
#ifdef __cplusplus
39
}
/* extern "C" */
40
#endif
41
42
#endif
/* SPA_AUDIO_MP3_H */
SPA_AUDIO_MP3_CHANNEL_MODE_MONO
@ SPA_AUDIO_MP3_CHANNEL_MODE_MONO
Definition:
mp3.h:26
SPA_AUDIO_MP3_CHANNEL_MODE_STEREO
@ SPA_AUDIO_MP3_CHANNEL_MODE_STEREO
Definition:
mp3.h:27
spa_audio_mp3_channel_mode
spa_audio_mp3_channel_mode
Definition:
mp3.h:24
spa_audio_info_mp3
Definition:
mp3.h:32
SPA_AUDIO_MP3_CHANNEL_MODE_JOINTSTEREO
@ SPA_AUDIO_MP3_CHANNEL_MODE_JOINTSTEREO
Definition:
mp3.h:28
raw.h
spa/param/audio/raw.h
SPA_AUDIO_MP3_CHANNEL_MODE_UNKNOWN
@ SPA_AUDIO_MP3_CHANNEL_MODE_UNKNOWN
Definition:
mp3.h:25
spa_audio_info_mp3::rate
uint32_t rate
Definition:
mp3.h:33
SPA_AUDIO_MP3_CHANNEL_MODE_DUAL
@ SPA_AUDIO_MP3_CHANNEL_MODE_DUAL
Definition:
mp3.h:29
spa_audio_info_mp3::channels
uint32_t channels
Definition:
mp3.h:34
spa
param
audio
mp3.h
Generated by
1.8.20