PipeWire: spa/param/audio/amr-types.h Source File

PipeWire 1.0.0

Loading...
Searching...
No Matches
amr-types.h
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#ifdef __cplusplus
9extern "C" {
10#endif
11
12#include <spa/utils/type.h>
13#include <spa/param/audio/amr.h>
14
15#define SPA_TYPE_INFO_AudioAMRBandMode SPA_TYPE_INFO_ENUM_BASE "AudioAMRBandMode"
16#define SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE SPA_TYPE_INFO_AudioAMRBandMode ":"
17
18static const struct spa_type_info spa_type_audio_amr_band_mode[] = {
19 { SPA_AUDIO_AMR_BAND_MODE_UNKNOWN, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE "UNKNOWN", NULL },
20 { SPA_AUDIO_AMR_BAND_MODE_NB, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE "NB", NULL },
21 { SPA_AUDIO_AMR_BAND_MODE_WB, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE "WB", NULL },
22 { 0, 0, NULL, NULL },
23};
28#ifdef __cplusplus
29} /* extern "C" */
30#endif
31
32#endif /* SPA_AUDIO_AMR_TYPES_H */
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition type.h:34
type.h
spa/utils/type.h
spa_type_info
Definition type.h:143