Home
last modified time | relevance | path

Searched refs:pitch_target (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/sound/pci/emu10k1/
Demupcm.c218 unsigned int pitch_target; in emu10k1_calc_pitch_target() local
220 pitch_target = (rate << 8) / 375; in emu10k1_calc_pitch_target()
221 pitch_target = (pitch_target >> 1) + (pitch_target & 1); in emu10k1_calc_pitch_target()
222 return pitch_target; in emu10k1_calc_pitch_target()
232 static unsigned int emu10k1_select_interprom(unsigned int pitch_target) in emu10k1_select_interprom() argument
234 if (pitch_target == PITCH_48000) in emu10k1_select_interprom()
236 else if (pitch_target < PITCH_48000) in emu10k1_select_interprom()
238 else if (pitch_target >= PITCH_96000) in emu10k1_select_interprom()
240 else if (pitch_target >= PITCH_85000) in emu10k1_select_interprom()
242 else if (pitch_target >= PITCH_80726) in emu10k1_select_interprom()
[all …]