Lines Matching refs:hwshift
574 int len, hwshift; in dsound_run_out() local
587 hwshift = hw->info.shift; in dsound_run_out()
588 bufsize = hw->samples << hwshift; in dsound_run_out()
600 len = live << hwshift; in dsound_run_out()
672 len1 = blen1 >> hwshift; in dsound_run_out()
673 len2 = blen2 >> hwshift; in dsound_run_out()
685 ds->old_pos = (old_pos + (decr << hwshift)) % bufsize; in dsound_run_out()
688 ds->mixed += decr << hwshift; in dsound_run_out()
768 int hwshift; in dsound_run_in() local
775 hwshift = hw->info.shift; in dsound_run_in()
799 hw->wpos = rpos >> hwshift; in dsound_run_in()
806 cpos >>= hwshift; in dsound_run_in()
817 hw->wpos << hwshift, in dsound_run_in()
818 len << hwshift, in dsound_run_in()
829 len1 = blen1 >> hwshift; in dsound_run_in()
830 len2 = blen2 >> hwshift; in dsound_run_in()