Home
last modified time | relevance | path

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

/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/libretro/
H A Dmixer-retro.cpp298 Bits diff_mul=freq_index & MIXER_REMAIN; in AddSamples() local
301 Bits sample=last[0]+((diff[0]*diff_mul) >> MIXER_SHIFT); in AddSamples()
304 sample = last[1] + ((diff[1]*diff_mul) >> MIXER_SHIFT); in AddSamples()
332 Bits diff_mul=freq_index & MIXER_REMAIN; in AddStretched() local
335 Bits sample=last[0]+((diff*diff_mul) >> MIXER_SHIFT); in AddStretched()
/dports/emulators/dosbox/dosbox-0.74-3/src/hardware/
H A Dmixer.cpp251 Bits diff_mul=freq_index & MIXER_REMAIN; in AddSamples() local
254 Bits sample=last[0]+((diff[0]*diff_mul) >> MIXER_SHIFT); in AddSamples()
256 if (stereo) sample=last[1]+((diff[1]*diff_mul) >> MIXER_SHIFT); in AddSamples()
280 Bits diff_mul=freq_index & MIXER_REMAIN; in AddStretched() local
283 Bits sample=last[0]+((diff*diff_mul) >> MIXER_SHIFT); in AddStretched()
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/hardware/
H A Dmixer.cpp523 const auto diff_mul = freq_counter & FREQ_MASK; in AddSamples() local
524 …ev_sample[left_map] + (((next_sample[left_map] - prev_sample[left_map]) * diff_mul) >> FREQ_SHIFT); in AddSamples()
527 …sample[right_map] + (((next_sample[right_map] - prev_sample[right_map]) * diff_mul) >> FREQ_SHIFT); in AddSamples()
565 const auto diff_mul = index & FREQ_MASK; in AddStretched() local
568 const auto sample = prev_sample[0] + ((diff * diff_mul) >> FREQ_SHIFT); in AddStretched()