FFmpeg  4.0
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. More...
 

Function Documentation

◆ ff_wma_get_frame_len_bits()

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 32 of file wma_common.c.

Referenced by decode_init(), and ff_wma_init().