Lines Matching defs:obt
261 struct alsa_params_obt *obt)
264 dolog ("format | %10d | %10d\n", req->fmt, obt->fmt);
266 req->nchannels, obt->nchannels);
267 dolog ("frequency | %10d | %10d\n", req->freq, obt->freq);
271 dolog ("obtained: samples %ld\n", obt->samples);
306 struct alsa_params_obt *obt, snd_pcm_t **handlep)
632 obt->fmt = req->fmt;
633 obt->nchannels = nchannels;
634 obt->freq = freq;
635 obt->samples = obt_buffer_size;
639 if (obt->fmt != req->fmt ||
640 obt->nchannels != req->nchannels ||
641 obt->freq != req->freq) {
643 alsa_dump_info (req, obt);
648 alsa_dump_info (req, obt);
813 struct alsa_params_obt obt;
826 if (alsa_open (0, &req, &obt, &handle)) {
830 err = alsa_to_audfmt (obt.fmt, &effective_fmt, &endianness);
836 obt_as.freq = obt.freq;
837 obt_as.nchannels = obt.nchannels;
842 hw->samples = obt.samples;
844 alsa->pcm_buf = audio_calloc (AUDIO_FUNC, obt.samples, 1 << hw->info.shift);
899 struct alsa_params_obt obt;
912 if (alsa_open (1, &req, &obt, &handle)) {
916 err = alsa_to_audfmt (obt.fmt, &effective_fmt, &endianness);
922 obt_as.freq = obt.freq;
923 obt_as.nchannels = obt.nchannels;
928 hw->samples = obt.samples;