Lines Matching defs:hwfmt
179 struct audio_info tmpinfo, hwfmt;
246 error = ioctlf(fp, AUDIO_GETFORMAT, &hwfmt);
261 hwfmt.record.sample_rate :
262 hwfmt.play.sample_rate;
1537 struct audio_info tmpinfo, hwfmt;
1542 if (ioctlf(fp, AUDIO_GETFORMAT, &hwfmt) < 0) {
1543 hwfmt.record.channels = hwfmt.play.channels = 2;
1551 tmpinfo.play.channels = hwfmt.play.channels;
1561 tmpinfo.record.channels = hwfmt.record.channels;