Searched refs:hwshift (Results 1 – 4 of 4) sorted by relevance
/external/qemu/audio/ |
D | dsoundaudio.c | 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() [all …]
|
D | ossaudio.c | 742 int hwshift = hw->info.shift; in oss_run_in() local 760 bufs[0].len = (hw->samples - hw->wpos) << hwshift; in oss_run_in() 761 bufs[1].len = (dead - (hw->samples - hw->wpos)) << hwshift; in oss_run_in() 764 bufs[0].len = dead << hwshift; in oss_run_in() 771 void *p = advance (oss->pcm_buf, bufs[i].add << hwshift); in oss_run_in() 777 "alignment %d\n", nread, bufs[i].add << hwshift, in oss_run_in() 780 read_samples += nread >> hwshift; in oss_run_in() 781 hw->conv (hw->conv_buf + bufs[i].add, p, nread >> hwshift, in oss_run_in()
|
D | fmodaudio.c | 454 int hwshift = hw->info.shift; in fmod_run_in() local 486 len1 = blen1 >> hwshift; in fmod_run_in() 487 len2 = blen2 >> hwshift; in fmod_run_in()
|
D | alsaaudio.c | 1050 int hwshift = hw->info.shift; in alsa_run_in() local 1122 src = advance (alsa->pcm_buf, bufs[i].add << hwshift); in alsa_run_in() 1162 src = advance (src, nread << hwshift); in alsa_run_in()
|