Lines Matching refs:size_emul
381 return audio_ring_dist(cntinfo.ptr, oss->hw.pos_emul, oss->hw.size_emul); in oss_get_available_bytes()
409 *size = hw->size_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()
422 hw->pos_emul = (hw->pos_emul + size) % hw->size_emul; in oss_put_buffer_out()
440 size_t to_copy = MIN(len, hw->size_emul - hw->pos_emul); in oss_write()
443 hw->pos_emul = (hw->pos_emul + to_copy) % hw->size_emul; in oss_write()
482 err = munmap(hw->buf_emul, hw->size_emul); in oss_fini_out()
485 hw->buf_emul, hw->size_emul); in oss_fini_out()
538 hw->size_emul = hw->samples * hw->info.bytes_per_frame; in oss_init_out()
541 hw->size_emul, in oss_init_out()
549 hw->size_emul); 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()