Lines Matching defs:info
79 static struct audio_info info; /* audio device info */
358 AUDIO_INITINFO(&info);
359 info.play.gain = AUDIO_MAX_GAIN;
360 info.play.port = AUDIO_SPEAKER;
362 info.record.buffer_size = bufsiz;
364 rval = ioctl(ctl_fd, AUDIO_SETINFO, (char *)&info);
465 ioctl(ctl_fd, AUDIO_GETINFO, (char *)&info);
466 info.record.encoding = AUDIO_ENCODING_ULAW;
467 info.record.error = 0;
468 info.record.gain = gain;
470 o_mongain = info.monitor_gain = mongain;
472 o_port = info.record.port = port;
473 rval = ioctl(ctl_fd, AUDIO_SETINFO, (char *)&info);
478 rval = info.record.error;
506 ioctl(ctl_fd, AUDIO_GETINFO, (char *)&info);
509 info.record.sample_rate, info.record.channels,
510 info.record.precision, info.record.encoding,
511 info.record.gain, info.monitor_gain, info.record.port);
514 info.record.samples, info.record.eof,
515 info.record.pause, info.record.error,
516 info.record.waiting, info.record.balance);