PipeWire: spa/param/audio/wma.h Source File

PipeWire 1.6.5

Loading...
Searching...
No Matches
wma.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_WMA_H
6#define SPA_AUDIO_WMA_H
7
8#include <spa/param/audio/raw.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
18
19enum 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
46
47
48#ifdef __cplusplus
49} /* extern "C" */
50#endif
51
52#endif /* SPA_AUDIO_WMA_H */
raw.h
spa/param/audio/raw.h
spa_audio_wma_profile
spa_audio_wma_profile
Definition wma.h:24
SPA_AUDIO_WMA_PROFILE_WMA8
@ SPA_AUDIO_WMA_PROFILE_WMA8
Definition wma.h:28
SPA_AUDIO_WMA_PROFILE_WMA7
@ SPA_AUDIO_WMA_PROFILE_WMA7
Definition wma.h:27
SPA_AUDIO_WMA_PROFILE_WMA9_PRO
@ SPA_AUDIO_WMA_PROFILE_WMA9_PRO
Definition wma.h:31
SPA_AUDIO_WMA_PROFILE_CUSTOM
@ SPA_AUDIO_WMA_PROFILE_CUSTOM
Definition wma.h:35
SPA_AUDIO_WMA_PROFILE_WMA9_LOSSLESS
@ SPA_AUDIO_WMA_PROFILE_WMA9_LOSSLESS
Definition wma.h:32
SPA_AUDIO_WMA_PROFILE_WMA9
@ SPA_AUDIO_WMA_PROFILE_WMA9
Definition wma.h:29
SPA_AUDIO_WMA_PROFILE_UNKNOWN
@ SPA_AUDIO_WMA_PROFILE_UNKNOWN
Definition wma.h:25
SPA_AUDIO_WMA_PROFILE_WMA10
@ SPA_AUDIO_WMA_PROFILE_WMA10
Definition wma.h:30
SPA_AUDIO_WMA_PROFILE_WMA10_LOSSLESS
@ SPA_AUDIO_WMA_PROFILE_WMA10_LOSSLESS
Definition wma.h:33
spa_audio_info_wma
Definition wma.h:38
spa_audio_info_wma::channels
uint32_t channels
Definition wma.h:40
spa_audio_info_wma::profile
enum spa_audio_wma_profile profile
Definition wma.h:43
spa_audio_info_wma::block_align
uint32_t block_align
Definition wma.h:42
spa_audio_info_wma::bitrate
uint32_t bitrate
Definition wma.h:41
spa_audio_info_wma::rate
uint32_t rate
Definition wma.h:39