Lines Matching defs:hwfmt
53 struct audio_info tmpinfo, hwfmt;
130 retval = ioctl(fd, AUDIO_GETFORMAT, &hwfmt);
134 hwfmt.record.sample_rate :
135 hwfmt.play.sample_rate;
186 retval = ioctl(fd, AUDIO_GETFORMAT, &hwfmt);
195 hwfmt.record.encoding : hwfmt.play.encoding;
199 hwfmt.record.precision : hwfmt.play.precision ;
521 struct audio_info tmpinfo, hwfmt;
523 if (ioctl(fd, AUDIO_GETFORMAT, &hwfmt) < 0) {
525 hwfmt.record.channels = hwfmt.play.channels = 2;
534 tmpinfo.play.channels = hwfmt.play.channels;
545 tmpinfo.record.channels = hwfmt.record.channels;