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

Go to the source code of this file.

Functions

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.
 

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.

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

Definition at line 31 of file wma_common.c.

Referenced by decode_init(), and ff_wma_init().