Lines Matching refs:buf_emul
410 return hw->buf_emul + hw->pos_emul; in oss_get_buffer_out()
420 assert(buf == hw->buf_emul + hw->pos_emul && size < hw->size_emul); in oss_put_buffer_out()
441 memcpy(hw->buf_emul + hw->pos_emul, buf, to_copy); in oss_write()
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()
573 hw->buf_emul = NULL; in oss_init_out()
601 audio_pcm_info_clear_buf(&hw->info, hw->buf_emul, hw->samples); in oss_enable_out()