All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wma_common.c File Reference
#include "libavutil/attributes.h"
#include "wma_common.h"

Go to the source code of this file.


av_cold int ff_wma_get_frame_len_bits (int sample_rate, int version, unsigned int decode_flags)
 Get the samples per frame for this stream. More...

Function Documentation

av_cold int ff_wma_get_frame_len_bits ( int  sample_rate,
int  version,
unsigned int  decode_flags 

Get the samples per frame for this stream.

sample_rateoutput sample_rate
versionwma version
decode_flagscodec compression features
log2 of the number of output samples per frame

Definition at line 32 of file wma_common.c.

Referenced by decode_init(), and ff_wma_init().