Lines Matching refs:pcm_buf
47 void *pcm_buf; member
58 void *pcm_buf; member
398 void *pcm = advance (oss->pcm_buf, oss->wpos << hw->info.shift); in oss_write_pending()
477 decr = audio_pcm_hw_clip_out (hw, oss->pcm_buf, decr, oss->pending); in oss_run_out()
492 if (oss->pcm_buf) { in oss_fini_out()
494 err = munmap (oss->pcm_buf, hw->samples << hw->info.shift); in oss_fini_out()
497 oss->pcm_buf, hw->samples << hw->info.shift); in oss_fini_out()
501 qemu_free (oss->pcm_buf); in oss_fini_out()
503 oss->pcm_buf = NULL; in oss_fini_out()
553 oss->pcm_buf = mmap ( in oss_init_out()
561 if (oss->pcm_buf == MAP_FAILED) { in oss_init_out()
585 err = munmap (oss->pcm_buf, hw->samples << hw->info.shift); in oss_init_out()
588 oss->pcm_buf, hw->samples << hw->info.shift); in oss_init_out()
595 oss->pcm_buf = audio_calloc ( in oss_init_out()
600 if (!oss->pcm_buf) { in oss_init_out()
640 audio_pcm_info_clear_buf (&hw->info, oss->pcm_buf, hw->samples); in oss_ctl_out()
715 oss->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); in oss_init_in()
716 if (!oss->pcm_buf) { in oss_init_in()
733 if (oss->pcm_buf) { in oss_fini_in()
734 qemu_free (oss->pcm_buf); in oss_fini_in()
735 oss->pcm_buf = NULL; in oss_fini_in()
771 void *p = advance (oss->pcm_buf, bufs[i].add << hwshift); in oss_run_in()