Home
last modified time | relevance | path

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

/external/qemu/audio/
Daudio.c1011 int samples, live, ret = 0, swlim, isamp, osamp, rpos, total = 0; in audio_pcm_sw_read() local
1027 swlim = (live * sw->ratio) >> 32; in audio_pcm_sw_read()
1028 swlim = audio_MIN (swlim, samples); in audio_pcm_sw_read()
1030 while (swlim) { in audio_pcm_sw_read()
1041 osamp = swlim; in audio_pcm_sw_read()
1049 swlim -= osamp; in audio_pcm_sw_read()
1108 int hwsamples, samples, isamp, osamp, wpos, live, dead, left, swlim, blck; in audio_pcm_sw_write() local
1134 swlim = ((int64_t) dead << 32) / sw->ratio; in audio_pcm_sw_write()
1135 swlim = audio_MIN (swlim, samples); in audio_pcm_sw_write()
1136 if (swlim) { in audio_pcm_sw_write()
[all …]