PipeWire  0.3.66
wma.h
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 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #include <spa/param/audio/raw.h>
13 
14 enum spa_audio_wma_profile {
15  SPA_AUDIO_WMA_PROFILE_UNKNOWN,
16 
17  SPA_AUDIO_WMA_PROFILE_WMA7,
18  SPA_AUDIO_WMA_PROFILE_WMA8,
19  SPA_AUDIO_WMA_PROFILE_WMA9,
20  SPA_AUDIO_WMA_PROFILE_WMA10,
21  SPA_AUDIO_WMA_PROFILE_WMA9_PRO,
22  SPA_AUDIO_WMA_PROFILE_WMA9_LOSSLESS,
23  SPA_AUDIO_WMA_PROFILE_WMA10_LOSSLESS,
24 
25  SPA_AUDIO_WMA_PROFILE_CUSTOM = 0x10000,
26 };
27 
28 struct spa_audio_info_wma {
29  uint32_t rate; /*< sample rate */
30  uint32_t channels; /*< number of channels */
31  uint32_t bitrate; /*< stream bitrate */
32  uint32_t block_align; /*< block alignment */
33  enum spa_audio_wma_profile profile; /*< WMA profile */
34 
35 };
36 
37 #define SPA_AUDIO_INFO_WMA_INIT(...) ((struct spa_audio_info_wma) { __VA_ARGS__ })
38 
43 #ifdef __cplusplus
44 } /* extern "C" */
45 #endif
46 
47 #endif /* SPA_AUDIO_WMA_H */
spa/param/audio/raw.h
Definition: wma.h:32
uint32_t channels
Definition: wma.h:34
enum spa_audio_wma_profile profile
Definition: wma.h:37
uint32_t block_align
Definition: wma.h:36
uint32_t bitrate
Definition: wma.h:35
uint32_t rate
Definition: wma.h:33