PipeWire 1.6.8

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#include <spa/utils/type.h>
9#include <spa/param/audio/mp3.h>
10
11#ifdef __cplusplus
12 extern "C" {
13#endif
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
Joint stereo mode, exploiting the similarities between channels using techniques like mid-side coding...
Definition mp3.h:34
SPA_AUDIO_MP3_CHANNEL_MODE_MONO
@ SPA_AUDIO_MP3_CHANNEL_MODE_MONO
Mono mode, only used if channel count is 1.
Definition mp3.h:27
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
Two mono tracks, different from stereo in that each channel contains entirely different content (like...
Definition mp3.h:39
SPA_AUDIO_MP3_CHANNEL_MODE_STEREO
@ SPA_AUDIO_MP3_CHANNEL_MODE_STEREO
Regular stereo mode with two independent channels.
Definition mp3.h:29
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:156