Loading...
Searching...
No Matches
mp3-types.h
Go to the documentation of this file.
/* Simple Plugin API */
/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#ifndef SPA_AUDIO_MP3_TYPES_H
#define SPA_AUDIO_MP3_TYPES_H
#include <spa/utils/type.h>
#include <spa/param/audio/mp3.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SPA_TYPE_INFO_AudioMP3ChannelMode SPA_TYPE_INFO_ENUM_BASE "AudioMP3ChannelMode"
#define SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE SPA_TYPE_INFO_AudioMP3ChannelMode ":"
static const struct spa_type_info spa_type_audio_mp3_channel_mode[] = {
{ SPA_AUDIO_MP3_CHANNEL_MODE_UNKNOWN, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE "UNKNOWN", NULL },
{ SPA_AUDIO_MP3_CHANNEL_MODE_MONO, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE "Mono", NULL },
{ SPA_AUDIO_MP3_CHANNEL_MODE_STEREO, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE "Stereo", NULL },
{ SPA_AUDIO_MP3_CHANNEL_MODE_JOINTSTEREO, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE "Joint-stereo", NULL },
{ SPA_AUDIO_MP3_CHANNEL_MODE_DUAL, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE "Dual", NULL },
{ 0, 0, NULL, NULL },
};
#ifdef __cplusplus
} /* extern "C" */
#endif
#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