Lines Matching refs:obt
486 struct alsa_params_obt *obt,
492 req->nchannels, obt->nchannels);
493 dolog ("frequency | %10d | %10d\n", req->freq, obt->freq);
497 dolog ("obtained: samples %ld\n", obt->samples);
531 struct alsa_params_obt *obt, snd_pcm_t **handlep)
607 unsigned long obt;
619 obt = btime;
629 obt = bsize;
637 if ((req->override_mask & 2) && (obt - req->buffer_size))
639 size_in_usec ? "time" : "size", req->buffer_size, obt);
643 unsigned long obt;
655 obt = ptime;
667 obt = psize;
676 if (((req->override_mask & 1) && (obt - req->period_size)))
678 size_in_usec ? "time" : "size", req->period_size, obt);
699 if (alsa_to_audfmt (obtfmt, &obt->fmt, &obt->endianness)) {
716 switch (obt->fmt) {
736 obt->nchannels = nchannels;
737 obt->freq = freq;
738 obt->samples = obt_buffer_size;
744 obt->nchannels != req->nchannels ||
745 obt->freq != req->freq)) {
747 alsa_dump_info (req, obt, obtfmt);
751 alsa_dump_info (req, obt, obtfmt);
881 struct alsa_params_obt obt;
900 if (alsa_open (0, &req, &obt, &handle)) {
904 obt_as.freq = obt.freq;
905 obt_as.nchannels = obt.nchannels;
906 obt_as.fmt = obt.fmt;
907 obt_as.endianness = obt.endianness;
910 hw->samples = obt.samples;
912 alsa->pcm_buf = audio_calloc (AUDIO_FUNC, obt.samples, 1 << hw->info.shift);
986 struct alsa_params_obt obt;
1005 if (alsa_open (1, &req, &obt, &handle)) {
1009 obt_as.freq = obt.freq;
1010 obt_as.nchannels = obt.nchannels;
1011 obt_as.fmt = obt.fmt;
1012 obt_as.endianness = obt.endianness;
1015 hw->samples = obt.samples;