Lines Matching refs:Format
128 pfmt->Format.wFormatTag = extend ? WAVE_FORMAT_EXTENSIBLE : WAVE_FORMAT_PCM; in check_format()
129 pfmt->Format.nChannels = channels; in check_format()
130 pfmt->Format.nSamplesPerSec = hertz; in check_format()
131 pfmt->Format.nAvgBytesPerSec = channels * bytewidth * hertz; in check_format()
132 pfmt->Format.nBlockAlign = channels * bytewidth; in check_format()
133 pfmt->Format.wBitsPerSample = bytewidth * 8; in check_format()
134 pfmt->Format.cbSize = extend ? 22 : 0; in check_format()
140 error = waveInOpen(0, dev, &pfmt->Format, 0, 0, WAVE_FORMAT_QUERY); in check_format()
142 error = waveOutOpen(0, dev, &pfmt->Format, 0, 0, WAVE_FORMAT_QUERY); in check_format()
267 switch (fmt.Format.wBitsPerSample) in start()
279 …lsx_fail_errno(ft, E2BIG, "Unexpected value for WaveAudio wBitsPerSample: %u", fmt.Format.wBitsPer… in start()
284 ft->signal.channels = fmt.Format.nChannels; in start()
290 (unsigned)fmt.Format.nSamplesPerSec, in start()
291 (unsigned)fmt.Format.nChannels, in start()
293 (unsigned)fmt.Format.wBitsPerSample); in start()
301 (unsigned)fmt.Format.nSamplesPerSec, in start()
302 (unsigned)fmt.Format.nChannels, in start()
304 (unsigned)fmt.Format.wBitsPerSample); in start()
329 &fmt.Format, in start()
339 &fmt.Format, in start()