Loading...
Searching...
No Matches
amr-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_AMR_TYPES_H
#define SPA_AUDIO_AMR_TYPES_H
#include <spa/utils/type.h>
#include <spa/param/audio/amr.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SPA_TYPE_INFO_AudioAMRBandMode SPA_TYPE_INFO_ENUM_BASE "AudioAMRBandMode"
#define SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE SPA_TYPE_INFO_AudioAMRBandMode ":"
static const struct spa_type_info spa_type_audio_amr_band_mode[] = {
{ SPA_AUDIO_AMR_BAND_MODE_UNKNOWN, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE "UNKNOWN", NULL },
{ SPA_AUDIO_AMR_BAND_MODE_NB, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE "NB", NULL },
{ SPA_AUDIO_AMR_BAND_MODE_WB, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE "WB", NULL },
{ 0, 0, NULL, NULL },
};
* \}
*/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* SPA_AUDIO_AMR_TYPES_H */
amr.h
spa/param/audio/amr.h
SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE
#define SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE
Definition amr-types.h:28
spa_type_audio_amr_band_mode
static const struct spa_type_info spa_type_audio_amr_band_mode[]
Definition amr-types.h:30
SPA_AUDIO_AMR_BAND_MODE_UNKNOWN
@ SPA_AUDIO_AMR_BAND_MODE_UNKNOWN
Definition amr.h:25
SPA_AUDIO_AMR_BAND_MODE_NB
@ SPA_AUDIO_AMR_BAND_MODE_NB
Definition amr.h:26
SPA_AUDIO_AMR_BAND_MODE_WB
@ SPA_AUDIO_AMR_BAND_MODE_WB
Definition amr.h:27
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition type.h:45
type.h
spa/utils/type.h
spa_type_info
Definition type.h:156