PipeWire 1.2.1
Loading...
Searching...
No Matches
amr.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2023 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_AUDIO_AMR_H
6#define SPA_AUDIO_AMR_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#include <spa/param/audio/raw.h>
13
23};
26 uint32_t rate; /*< sample rate */
27 uint32_t channels; /*< number of channels */
29};
31#define SPA_AUDIO_INFO_AMR_INIT(...) ((struct spa_audio_info_amr) { __VA_ARGS__ })
37#ifdef __cplusplus
38} /* extern "C" */
39#endif
40
41#endif /* SPA_AUDIO_AMR_H */
spa/param/audio/raw.h
spa_audio_amr_band_mode
Definition amr.h:24
@ SPA_AUDIO_AMR_BAND_MODE_UNKNOWN
Definition amr.h:25
@ SPA_AUDIO_AMR_BAND_MODE_NB
Definition amr.h:26
@ SPA_AUDIO_AMR_BAND_MODE_WB
Definition amr.h:27
Definition amr.h:30
uint32_t channels
Definition amr.h:32
enum spa_audio_amr_band_mode band_mode
Definition amr.h:33
uint32_t rate
Definition amr.h:31