Home
last modified time | relevance | path

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

/linux-6.6.21/sound/pci/emu10k1/
Demupcm.c235 unsigned int pitch_target; in emu10k1_calc_pitch_target() local
237 pitch_target = (rate << 8) / 375; in emu10k1_calc_pitch_target()
238 pitch_target = (pitch_target >> 1) + (pitch_target & 1); in emu10k1_calc_pitch_target()
239 return pitch_target; in emu10k1_calc_pitch_target()
249 static unsigned int emu10k1_select_interprom(unsigned int pitch_target) in emu10k1_select_interprom() argument
251 if (pitch_target == PITCH_48000) in emu10k1_select_interprom()
253 else if (pitch_target < PITCH_48000) in emu10k1_select_interprom()
255 else if (pitch_target >= PITCH_96000) in emu10k1_select_interprom()
257 else if (pitch_target >= PITCH_85000) in emu10k1_select_interprom()
259 else if (pitch_target >= PITCH_80726) in emu10k1_select_interprom()
[all …]
/linux-6.6.21/include/sound/
Demu10k1.h1504 unsigned int pitch_target; member