FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
wma_common.h File Reference

Go to the source code of this file.

Functions

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

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().