+ +
2da5fe7 OpenAVX v0.2.0 - High-performance open-standard IP audio and video transport suite
saifmukhtar · 2026-11-24
c · 52 lines · 1.0 KB · SPDX: MIT
main
1 /* Simple Plugin API */
2 /* SPDX-FileCopyrightText: Copyright © 2023 Wim Taymans */
3 /* SPDX-License-Identifier: MIT */
4  
5 #ifndef SPA_AUDIO_WMA_H
6 #define SPA_AUDIO_WMA_H
7  
8 #include <spa/param/audio/raw.h>
9  
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13  
14 /**
15 * \addtogroup spa_param
16 * \{
17 */
18  
19 enum spa_audio_wma_profile {
20 SPA_AUDIO_WMA_PROFILE_UNKNOWN,
21  
22 SPA_AUDIO_WMA_PROFILE_WMA7,
23 SPA_AUDIO_WMA_PROFILE_WMA8,
24 SPA_AUDIO_WMA_PROFILE_WMA9,
25 SPA_AUDIO_WMA_PROFILE_WMA10,
26 SPA_AUDIO_WMA_PROFILE_WMA9_PRO,
27 SPA_AUDIO_WMA_PROFILE_WMA9_LOSSLESS,
28 SPA_AUDIO_WMA_PROFILE_WMA10_LOSSLESS,
29  
30 SPA_AUDIO_WMA_PROFILE_CUSTOM = 0x10000,
31 };
32  
33 struct spa_audio_info_wma {
34 uint32_t rate; /*< sample rate */
35 uint32_t channels; /*< number of channels */
36 uint32_t bitrate; /*< stream bitrate */
37 uint32_t block_align; /*< block alignment */
38 enum spa_audio_wma_profile profile; /*< WMA profile */
39  
40 };
41  
42 #define SPA_AUDIO_INFO_WMA_INIT(...) ((struct spa_audio_info_wma) { __VA_ARGS__ })
43  
44 /**
45 * \}
46 */
47  
48 #ifdef __cplusplus
49 } /* extern "C" */
50 #endif
51  
52 #endif /* SPA_AUDIO_WMA_H */