Home
last modified time | relevance | path

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

/external/qemu/audio/
Daudio.c1108 int hwsamples, samples, isamp, osamp, wpos, live, dead, left, swlim, blck; in audio_pcm_sw_write() local
1115 hwsamples = sw->hw->samples; in audio_pcm_sw_write()
1118 if (audio_bug (AUDIO_FUNC, live < 0 || live > hwsamples)){ in audio_pcm_sw_write()
1119 dolog ("live=%d hw->samples=%d\n", live, hwsamples); in audio_pcm_sw_write()
1123 if (live == hwsamples) { in audio_pcm_sw_write()
1130 wpos = (sw->hw->rpos + live) % hwsamples; in audio_pcm_sw_write()
1133 dead = hwsamples - live; in audio_pcm_sw_write()
1141 dead = hwsamples - live; in audio_pcm_sw_write()
1142 left = hwsamples - wpos; in audio_pcm_sw_write()
1160 wpos = (wpos + osamp) % hwsamples; in audio_pcm_sw_write()