• Home
  • Raw
  • Download

Lines Matching refs:obt

292                             struct alsa_params_obt *obt)  in alsa_dump_info()  argument
295 dolog ("format | %10d | %10d\n", req->fmt, obt->fmt); in alsa_dump_info()
297 req->nchannels, obt->nchannels); in alsa_dump_info()
298 dolog ("frequency | %10d | %10d\n", req->freq, obt->freq); in alsa_dump_info()
302 dolog ("obtained: samples %ld\n", obt->samples); in alsa_dump_info()
336 struct alsa_params_obt *obt, snd_pcm_t **handlep) in alsa_open() argument
412 unsigned long obt; in alsa_open() local
424 obt = btime; in alsa_open()
434 obt = bsize; in alsa_open()
442 if ((req->override_mask & 2) && (obt - req->buffer_size)) in alsa_open()
444 size_in_usec ? "time" : "size", req->buffer_size, obt); in alsa_open()
448 unsigned long obt; in alsa_open() local
460 obt = ptime; in alsa_open()
472 obt = psize; in alsa_open()
481 if ((req->override_mask & 1) && (obt - req->period_size)) in alsa_open()
483 size_in_usec ? "time" : "size", req->period_size, obt); in alsa_open()
505 if (alsa_to_audfmt (obtfmt, &obt->fmt, &obt->endianness)) { in alsa_open()
522 switch (obt->fmt) { in alsa_open()
542 obt->nchannels = nchannels; in alsa_open()
543 obt->freq = freq; in alsa_open()
544 obt->samples = obt_buffer_size; in alsa_open()
549 (obt->fmt != req->fmt || in alsa_open()
550 obt->nchannels != req->nchannels || in alsa_open()
551 obt->freq != req->freq)) { in alsa_open()
553 alsa_dump_info (req, obt); in alsa_open()
557 alsa_dump_info (req, obt); in alsa_open()
693 struct alsa_params_obt obt; in alsa_init_out() local
711 if (alsa_open (0, &req, &obt, &handle)) { in alsa_init_out()
715 obt_as.freq = obt.freq; in alsa_init_out()
716 obt_as.nchannels = obt.nchannels; in alsa_init_out()
717 obt_as.fmt = obt.fmt; in alsa_init_out()
718 obt_as.endianness = obt.endianness; in alsa_init_out()
721 hw->samples = obt.samples; in alsa_init_out()
723 alsa->pcm_buf = audio_calloc (AUDIO_FUNC, obt.samples, 1 << hw->info.shift); in alsa_init_out()
784 struct alsa_params_obt obt; in alsa_init_in() local
802 if (alsa_open (1, &req, &obt, &handle)) { in alsa_init_in()
806 obt_as.freq = obt.freq; in alsa_init_in()
807 obt_as.nchannels = obt.nchannels; in alsa_init_in()
808 obt_as.fmt = obt.fmt; in alsa_init_in()
809 obt_as.endianness = obt.endianness; in alsa_init_in()
812 hw->samples = obt.samples; in alsa_init_in()