33 unsigned int decode_flags)
37 if (sample_rate <= 16000)
39 else if (sample_rate <= 22050 || (sample_rate <= 32000 && version == 1))
41 else if (sample_rate <= 48000 || version < 3)
43 else if (sample_rate <= 96000)
49 int tmp = decode_flags & 0x6;
58 return frame_len_bits;
Macro definitions for various function/variable attributes.
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.