PipeWire
1.2.7
Toggle main menu visibility
Main Page
Pages
API Reference
Data Structures
Data Structures
Data Structure Index
Examples
►
PipeWire
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
opus.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_OPUS_H
6
#define SPA_AUDIO_OPUS_H
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
#include <
spa/param/audio/raw.h
>
13
19
struct
spa_audio_info_opus
{
20
uint32_t
rate
;
/*< sample rate */
21
uint32_t
channels
;
/*< number of channels */
22
};
23
24
#define SPA_AUDIO_INFO_OPUS_INIT(...) ((struct spa_audio_info_opus) { __VA_ARGS__ })
25
24
#define SPA_AUDIO_INFO_OPUS_INIT(...) ((struct spa_audio_info_opus) { __VA_ARGS__ })
{
…
};
30
#ifdef __cplusplus
31
}
/* extern "C" */
32
#endif
33
34
#endif
/* SPA_AUDIO_OPUS_H */
raw.h
spa/param/audio/raw.h
spa_audio_info_opus
Definition
opus.h:24
spa_audio_info_opus::channels
uint32_t channels
Definition
opus.h:26
spa_audio_info_opus::rate
uint32_t rate
Definition
opus.h:25
spa
param
audio
opus.h
Generated by
1.10.0