Searched refs:buf_emul (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/audio/ |
H A D | ossaudio.c | 410 return hw->buf_emul + hw->pos_emul; in oss_get_buffer_out() 481 if (oss->mmapped && hw->buf_emul) { in oss_fini_out() 482 err = munmap(hw->buf_emul, hw->size_emul); in oss_fini_out() 485 hw->buf_emul, hw->size_emul); in oss_fini_out() 487 hw->buf_emul = NULL; in oss_fini_out() 539 hw->buf_emul = mmap( in oss_init_out() 547 if (hw->buf_emul == MAP_FAILED) { in oss_init_out() 550 hw->buf_emul = NULL; in oss_init_out() 568 err = munmap(hw->buf_emul, hw->size_emul); in oss_init_out() 571 hw->buf_emul, hw->size_emul); in oss_init_out() [all …]
|
H A D | sdlaudio.c | 237 memcpy(buf, hw->buf_emul + start, write_len); in sdl_callback_out() 281 memcpy(hw->buf_emul + hw->pos_emul, buf, read_len); in sdl_callback_in() 438 hw->buf_emul = g_malloc(hw->size_emul); in sdl_init_in()
|
H A D | audio_int.h | 75 void *buf_emul; member 97 void *buf_emul; member
|
H A D | audio.c | 1412 if (unlikely(!hw->buf_emul)) { in audio_generic_run_buffer_in() 1414 hw->buf_emul = g_malloc(hw->size_emul); in audio_generic_run_buffer_in() 1421 size_t read = hw->pcm_ops->read(hw, hw->buf_emul + hw->pos_emul, in audio_generic_run_buffer_in() 1440 return hw->buf_emul + start; in audio_generic_get_buffer_in() 1451 if (hw->buf_emul) { in audio_generic_buffer_get_free() 1468 written = hw->pcm_ops->write(hw, hw->buf_emul + start, write_len); in audio_generic_run_buffer_out() 1479 if (unlikely(!hw->buf_emul)) { in audio_generic_get_buffer_out() 1481 hw->buf_emul = g_malloc(hw->size_emul); in audio_generic_get_buffer_out() 1487 return hw->buf_emul + hw->pos_emul; in audio_generic_get_buffer_out() 1492 assert(buf == hw->buf_emul + hw->pos_emul && in audio_generic_put_buffer_out()
|
H A D | audio_template.h | 80 g_free(hw->buf_emul); in glue()
|
H A D | coreaudio.m | 345 memcpy(out, hw->buf_emul + start, write_len);
|