Searched refs:mp3_version (Results 1 – 1 of 1) sorted by relevance
103 int ver_idx, mp3_version, layer, bit_rate_idx, sample_rate_idx, channel_idx; in parse_mp3_header() local111 mp3_version = ver_idx == 0 ? MPEG25 : ((ver_idx & 0x1) ? MPEG1 : MPEG2); in parse_mp3_header()122 *sample_rate = mp3_sample_rates[mp3_version][sample_rate_idx]; in parse_mp3_header()123 *bit_rate = (mp3_bit_rates[mp3_version][layer - 1][bit_rate_idx]) * 1000; in parse_mp3_header()