Loading...
Searching...
No Matches
wma.h
Go to the documentation of this file.
/* Simple Plugin API */
/* SPDX-FileCopyrightText: Copyright © 2023 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#ifndef SPA_AUDIO_WMA_H
#define SPA_AUDIO_WMA_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus
extern "C" {
#endif
enum spa_audio_wma_profile {
SPA_AUDIO_WMA_PROFILE_UNKNOWN,
SPA_AUDIO_WMA_PROFILE_WMA7,
SPA_AUDIO_WMA_PROFILE_WMA8,
SPA_AUDIO_WMA_PROFILE_WMA9,
SPA_AUDIO_WMA_PROFILE_WMA10,
SPA_AUDIO_WMA_PROFILE_WMA9_PRO,
SPA_AUDIO_WMA_PROFILE_WMA9_LOSSLESS,
SPA_AUDIO_WMA_PROFILE_WMA10_LOSSLESS,
SPA_AUDIO_WMA_PROFILE_CUSTOM = 0x10000,
};
struct spa_audio_info_wma {
uint32_t rate; /*< sample rate */
uint32_t channels; /*< number of channels */
uint32_t bitrate; /*< stream bitrate */
uint32_t block_align; /*< block alignment */
enum spa_audio_wma_profile profile; /*< WMA profile */
};
#define SPA_AUDIO_INFO_WMA_INIT(...) ((struct spa_audio_info_wma) { __VA_ARGS__ })
#ifdef __cplusplus
} /* extern "C" */
#endif
#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