PipeWire 1.6.8

Loading...
Searching...
No Matches
amr-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_AMR_TYPES_H
6#define SPA_AUDIO_AMR_TYPES_H
7
8#include <spa/utils/type.h>
9#include <spa/param/audio/amr.h>
10
11#ifdef __cplusplus
12 extern "C" {
13#endif
14
19
20#define SPA_TYPE_INFO_AudioAMRBandMode SPA_TYPE_INFO_ENUM_BASE "AudioAMRBandMode"
21#define SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE SPA_TYPE_INFO_AudioAMRBandMode ":"
22
23 static const struct spa_type_info spa_type_audio_amr_band_mode[] = {
24 { SPA_AUDIO_AMR_BAND_MODE_UNKNOWN, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE "UNKNOWN", NULL },
25 { SPA_AUDIO_AMR_BAND_MODE_NB, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE "NB", NULL },
26 { SPA_AUDIO_AMR_BAND_MODE_WB, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE "WB", NULL },
27 { 0, 0, NULL, NULL },
28};
30 * \}
31 */
32
33#ifdef __cplusplus
34} /* extern "C" */
35#endif
36
37#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