PipeWire 1.6.8

Loading...
Searching...
No Matches
audio.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2020 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_BLUETOOTH_AUDIO_H
6#define SPA_BLUETOOTH_AUDIO_H
7
8#ifdef __cplusplus
9 extern "C" {
10#endif
11
16 enum spa_bluetooth_audio_codec {
17 SPA_BLUETOOTH_AUDIO_CODEC_START,
18
19 /* A2DP */
20 SPA_BLUETOOTH_AUDIO_CODEC_SBC,
21 SPA_BLUETOOTH_AUDIO_CODEC_SBC_XQ,
22 SPA_BLUETOOTH_AUDIO_CODEC_MPEG,
23 SPA_BLUETOOTH_AUDIO_CODEC_AAC,
24 SPA_BLUETOOTH_AUDIO_CODEC_AAC_ELD,
25 SPA_BLUETOOTH_AUDIO_CODEC_APTX,
26 SPA_BLUETOOTH_AUDIO_CODEC_APTX_HD,
27 SPA_BLUETOOTH_AUDIO_CODEC_LDAC,
28 SPA_BLUETOOTH_AUDIO_CODEC_APTX_LL,
29 SPA_BLUETOOTH_AUDIO_CODEC_APTX_LL_DUPLEX,
30 SPA_BLUETOOTH_AUDIO_CODEC_FASTSTREAM,
31 SPA_BLUETOOTH_AUDIO_CODEC_FASTSTREAM_DUPLEX,
32 SPA_BLUETOOTH_AUDIO_CODEC_LC3PLUS_HR,
33 SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05,
34 SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_51,
35 SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_71,
36 SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_DUPLEX,
37 SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_PRO,
38 SPA_BLUETOOTH_AUDIO_CODEC_OPUS_G,
39
40 /* HFP */
41 SPA_BLUETOOTH_AUDIO_CODEC_CVSD = 0x100,
42 SPA_BLUETOOTH_AUDIO_CODEC_MSBC,
43 SPA_BLUETOOTH_AUDIO_CODEC_LC3_SWB,
44 SPA_BLUETOOTH_AUDIO_CODEC_LC3_A127,
45
46 /* BAP */
47 SPA_BLUETOOTH_AUDIO_CODEC_LC3 = 0x200,
48
49 /* ASHA */
50 SPA_BLUETOOTH_AUDIO_CODEC_G722 = 0x300,
51};
52
56
57#ifdef __cplusplus
58} /* extern "C" */
59#endif
60
61#endif /* SPA_BLUETOOTH_AUDIO_H */
spa_bluetooth_audio_codec
spa_bluetooth_audio_codec
Definition audio.h:21
SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05
@ SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05
Definition audio.h:38
SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_71
@ SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_71
Definition audio.h:40
SPA_BLUETOOTH_AUDIO_CODEC_MPEG
@ SPA_BLUETOOTH_AUDIO_CODEC_MPEG
Definition audio.h:27
SPA_BLUETOOTH_AUDIO_CODEC_LC3
@ SPA_BLUETOOTH_AUDIO_CODEC_LC3
Definition audio.h:52
SPA_BLUETOOTH_AUDIO_CODEC_CVSD
@ SPA_BLUETOOTH_AUDIO_CODEC_CVSD
Definition audio.h:46
SPA_BLUETOOTH_AUDIO_CODEC_MSBC
@ SPA_BLUETOOTH_AUDIO_CODEC_MSBC
Definition audio.h:47
SPA_BLUETOOTH_AUDIO_CODEC_APTX_LL
@ SPA_BLUETOOTH_AUDIO_CODEC_APTX_LL
Definition audio.h:33
SPA_BLUETOOTH_AUDIO_CODEC_FASTSTREAM_DUPLEX
@ SPA_BLUETOOTH_AUDIO_CODEC_FASTSTREAM_DUPLEX
Definition audio.h:36
SPA_BLUETOOTH_AUDIO_CODEC_APTX
@ SPA_BLUETOOTH_AUDIO_CODEC_APTX
Definition audio.h:30
SPA_BLUETOOTH_AUDIO_CODEC_LC3PLUS_HR
@ SPA_BLUETOOTH_AUDIO_CODEC_LC3PLUS_HR
Definition audio.h:37
SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_PRO
@ SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_PRO
Definition audio.h:42
SPA_BLUETOOTH_AUDIO_CODEC_APTX_LL_DUPLEX
@ SPA_BLUETOOTH_AUDIO_CODEC_APTX_LL_DUPLEX
Definition audio.h:34
SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_51
@ SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_51
Definition audio.h:39
SPA_BLUETOOTH_AUDIO_CODEC_G722
@ SPA_BLUETOOTH_AUDIO_CODEC_G722
Definition audio.h:55
SPA_BLUETOOTH_AUDIO_CODEC_AAC
@ SPA_BLUETOOTH_AUDIO_CODEC_AAC
Definition audio.h:28
SPA_BLUETOOTH_AUDIO_CODEC_OPUS_G
@ SPA_BLUETOOTH_AUDIO_CODEC_OPUS_G
Definition audio.h:43
SPA_BLUETOOTH_AUDIO_CODEC_SBC
@ SPA_BLUETOOTH_AUDIO_CODEC_SBC
Definition audio.h:25
SPA_BLUETOOTH_AUDIO_CODEC_SBC_XQ
@ SPA_BLUETOOTH_AUDIO_CODEC_SBC_XQ
Definition audio.h:26
SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_DUPLEX
@ SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_DUPLEX
Definition audio.h:41
SPA_BLUETOOTH_AUDIO_CODEC_APTX_HD
@ SPA_BLUETOOTH_AUDIO_CODEC_APTX_HD
Definition audio.h:31
SPA_BLUETOOTH_AUDIO_CODEC_LDAC
@ SPA_BLUETOOTH_AUDIO_CODEC_LDAC
Definition audio.h:32
SPA_BLUETOOTH_AUDIO_CODEC_LC3_SWB
@ SPA_BLUETOOTH_AUDIO_CODEC_LC3_SWB
Definition audio.h:48
SPA_BLUETOOTH_AUDIO_CODEC_AAC_ELD
@ SPA_BLUETOOTH_AUDIO_CODEC_AAC_ELD
Definition audio.h:29
SPA_BLUETOOTH_AUDIO_CODEC_FASTSTREAM
@ SPA_BLUETOOTH_AUDIO_CODEC_FASTSTREAM
Definition audio.h:35
SPA_BLUETOOTH_AUDIO_CODEC_START
@ SPA_BLUETOOTH_AUDIO_CODEC_START
Definition audio.h:22
SPA_BLUETOOTH_AUDIO_CODEC_LC3_A127
@ SPA_BLUETOOTH_AUDIO_CODEC_LC3_A127
Definition audio.h:49