PipeWire 1.4.10

Loading...
Searching...
No Matches
mp3-types.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_AUDIO_MP3_TYPES_H
6#define SPA_AUDIO_MP3_TYPES_H
7
8#ifdef __cplusplus
9 extern "C" {
10#endif
11
12#include <spa/utils/type.h>
13#include <spa/param/audio/mp3.h>
14
19
20#define SPA_TYPE_INFO_AudioMP3ChannelMode SPA_TYPE_INFO_ENUM_BASE "AudioMP3ChannelMode"
21#define SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE SPA_TYPE_INFO_AudioMP3ChannelMode ":"
22
23 static const struct spa_type_info spa_type_audio_mp3_channel_mode[] = {
24 { SPA_AUDIO_MP3_CHANNEL_MODE_UNKNOWN, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE "UNKNOWN", NULL },
25 { SPA_AUDIO_MP3_CHANNEL_MODE_MONO, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE "Mono", NULL },
26 { SPA_AUDIO_MP3_CHANNEL_MODE_STEREO, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE "Stereo", NULL },
27 { SPA_AUDIO_MP3_CHANNEL_MODE_JOINTSTEREO, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE "Joint-stereo", NULL },
28 { SPA_AUDIO_MP3_CHANNEL_MODE_DUAL, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE "Dual", NULL },
29 { 0, 0, NULL, NULL },
30};
34
35#ifdef __cplusplus
36} /* extern "C" */
37#endif
38
39#endif /* SPA_AUDIO_MP3_TYPES_H */
SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE
#define SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE
Definition mp3-types.h:28
spa_type_audio_mp3_channel_mode
static const struct spa_type_info spa_type_audio_mp3_channel_mode[]
Definition mp3-types.h:30
SPA_AUDIO_MP3_CHANNEL_MODE_JOINTSTEREO
@ SPA_AUDIO_MP3_CHANNEL_MODE_JOINTSTEREO
Definition mp3.h:28
SPA_AUDIO_MP3_CHANNEL_MODE_MONO
@ SPA_AUDIO_MP3_CHANNEL_MODE_MONO
Definition mp3.h:26
SPA_AUDIO_MP3_CHANNEL_MODE_UNKNOWN
@ SPA_AUDIO_MP3_CHANNEL_MODE_UNKNOWN
Definition mp3.h:25
SPA_AUDIO_MP3_CHANNEL_MODE_DUAL
@ SPA_AUDIO_MP3_CHANNEL_MODE_DUAL
Definition mp3.h:29
SPA_AUDIO_MP3_CHANNEL_MODE_STEREO
@ SPA_AUDIO_MP3_CHANNEL_MODE_STEREO
Definition mp3.h:27
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition type.h:45
mp3.h
spa/param/audio/mp3.h
type.h
spa/utils/type.h
spa_type_info
Definition type.h:154