Home
last modified time | relevance | path

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

/openbmc/qemu/audio/
H A Dsdlaudio.c227 while (hw->pending_emul && len) { in sdl_callback_out()
230 start = audio_ring_posb(hw->pos_emul, hw->pending_emul, in sdl_callback_out()
234 write_len = MIN(MIN(hw->pending_emul, len), in sdl_callback_out()
238 hw->pending_emul -= write_len; in sdl_callback_out()
277 while (hw->pending_emul < hw->size_emul && len) { in sdl_callback_in()
279 hw->size_emul - hw->pending_emul)); in sdl_callback_in()
283 hw->pending_emul += read_len; in sdl_callback_in()
439 hw->pos_emul = hw->pending_emul = 0; in sdl_init_in()
H A Daudio.c1415 hw->pos_emul = hw->pending_emul = 0; in audio_generic_run_buffer_in()
1418 while (hw->pending_emul < hw->size_emul) { in audio_generic_run_buffer_in()
1423 hw->pending_emul += read; in audio_generic_run_buffer_in()
1438 *size = MIN(*size, hw->pending_emul); in audio_generic_get_buffer_in()
1445 assert(size <= hw->pending_emul); in audio_generic_put_buffer_in()
1446 hw->pending_emul -= size; in audio_generic_put_buffer_in()
1452 return hw->size_emul - hw->pending_emul; in audio_generic_buffer_get_free()
1460 while (hw->pending_emul) { in audio_generic_run_buffer_out()
1469 hw->pending_emul -= written; in audio_generic_run_buffer_out()
1482 hw->pos_emul = hw->pending_emul = 0; in audio_generic_get_buffer_out()
[all …]
H A Daudio_int.h76 size_t pos_emul, pending_emul, size_emul; member
98 size_t pos_emul, pending_emul, size_emul; member
H A Dcoreaudio.m326 pending_frames = hw->pending_emul / hw->info.bytes_per_frame;
339 start = audio_ring_posb(hw->pos_emul, hw->pending_emul, hw->size_emul);
342 write_len = MIN(MIN(hw->pending_emul, len),
346 hw->pending_emul -= write_len;