Lines Matching refs:info
307 bufsize = hw->samples << hw->info.shift;
332 decr = audio_MIN (bytes >> hw->info.shift, live);
358 decr = audio_MIN (abinfo.bytes >> hw->info.shift, live);
371 dst = advance (oss->pcm_buf, rpos << hw->info.shift);
377 written = write (oss->fd, dst, convert_samples << hw->info.shift);
383 convert_samples << hw->info.shift,
389 if (written != convert_samples << hw->info.shift) {
390 int wsamples = written >> hw->info.shift;
391 int wbytes = wsamples << hw->info.shift;
395 wbytes, written, hw->info.align + 1);
424 err = munmap (oss->pcm_buf, hw->samples << hw->info.shift);
427 oss->pcm_buf, hw->samples << hw->info.shift);
470 audio_pcm_init_info (&hw->info, &obt_as);
474 if (obt.nfrags * obt.fragsize & hw->info.align) {
476 obt.nfrags * obt.fragsize, hw->info.align + 1);
479 hw->samples = (obt.nfrags * obt.fragsize) >> hw->info.shift;
485 hw->samples << hw->info.shift,
493 hw->samples << hw->info.shift);
514 err = munmap (oss->pcm_buf, hw->samples << hw->info.shift);
517 oss->pcm_buf, hw->samples << hw->info.shift);
527 1 << hw->info.shift
533 1 << hw->info.shift
556 audio_pcm_info_clear_buf (&hw->info, oss->pcm_buf, hw->samples);
611 audio_pcm_init_info (&hw->info, &obt_as);
615 if (obt.nfrags * obt.fragsize & hw->info.align) {
617 obt.nfrags * obt.fragsize, hw->info.align + 1);
620 hw->samples = (obt.nfrags * obt.fragsize) >> hw->info.shift;
621 oss->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info
624 hw->samples, 1 << hw->info.shift);
648 int hwshift = hw->info.shift;
682 if (nread & hw->info.align) {
685 hw->info.align + 1);