Home | History | Annotate | Download | only in Modules

Lines Matching defs:rate

566     int fmt, channels, rate;
598 rate = wanted_rate;
599 if (ioctl(self->fd, SNDCTL_DSP_SPEED, &rate) == -1) {
602 if (strict && rate != wanted_rate) {
605 "unable to set requested rate (wanted %d, got %d)",
606 wanted_rate, rate);
609 /* Construct the return value: a (fmt, channels, rate) tuple that
611 return Py_BuildValue("(iii)", fmt, channels, rate);