Lines Matching defs:fmt
216 fmt = setfmt(fmt) -> ioctl(fd, SNDCTL_DSP_SETFMT, &fmt)
571 int fmt, channels, rate;
581 fmt = wanted_fmt;
582 if (ioctl(self->fd, SNDCTL_DSP_SETFMT, &fmt) == -1) {
585 if (strict && fmt != wanted_fmt) {
589 wanted_fmt, fmt);
614 /* Construct the return value: a (fmt, channels, rate) tuple that
616 return Py_BuildValue("(iii)", fmt, channels, rate);
622 int fmt;
624 fmt = 0;
625 if (ioctl(self->fd, SNDCTL_DSP_SETFMT, &fmt) < 0)
628 switch (fmt) {