Searched refs:wpos (Results 1 – 6 of 6) sorted by relevance
/qemu/replay/ |
H A D | replay-audio.c | 38 void replay_audio_in(size_t *recorded, void *samples, size_t *wpos, size_t size) in replay_audio_in() argument 47 replay_put_qword(*wpos); in replay_audio_in() 48 for (pos = (*wpos - *recorded + size) % size ; pos != *wpos in replay_audio_in() 59 *wpos = replay_get_qword(); in replay_audio_in() 60 for (pos = (*wpos - *recorded + size) % size ; pos != *wpos in replay_audio_in()
|
H A D | stubs-system.c | 18 void replay_audio_in(size_t *recorded, void *samples, size_t *wpos, size_t size) in replay_audio_in() argument
|
/qemu/hw/audio/ |
H A D | hda-codec.c | 172 int64_t wpos; member 227 int64_t wpos = st->wpos; in hda_audio_input_timer() local 270 int64_t wpos = st->wpos; in hda_audio_input_cb() local 279 wpos += read; in hda_audio_input_cb() 281 st->wpos += read; in hda_audio_input_cb() 297 int64_t wpos = st->wpos; in hda_audio_output_timer() local 315 int64_t to_transfer = MIN(B_SIZE - (wpos - rpos), wanted_wpos - wpos); in hda_audio_output_timer() 324 wpos += chunk; in hda_audio_output_timer() 340 int64_t wpos = st->wpos; in hda_audio_output_cb() local 348 st->wpos = 0; in hda_audio_output_cb() [all …]
|
/qemu/audio/ |
H A D | dsoundaudio.c | 435 DWORD ppos, wpos; in dsound_buffer_get_free() local 438 dsb, &ppos, ds->first_time ? &wpos : NULL); in dsound_buffer_get_free() 445 hw->pos_emul = wpos; in dsound_buffer_get_free()
|
H A D | audio.c | 686 size_t live, wpos, frames_in, frames_out; in audio_pcm_sw_resample_out() local 689 wpos = (hw->mix_buf.pos + live) % hw->mix_buf.size; in audio_pcm_sw_resample_out() 694 dst = hw->mix_buf.buffer + wpos; in audio_pcm_sw_resample_out() 695 frames_out = MIN(frames_out_max, hw->mix_buf.size - wpos); in audio_pcm_sw_resample_out() 697 wpos += frames_out; in audio_pcm_sw_resample_out() 702 if (frames_in_max - frames_in > 0 && wpos == hw->mix_buf.size) { in audio_pcm_sw_resample_out()
|
/qemu/include/sysemu/ |
H A D | replay.h | 179 void replay_audio_in(size_t *recorded, void *samples, size_t *wpos, size_t size);
|