Lines Matching defs:wfx
272 static void print_wave_format (WAVEFORMATEX *wfx)
274 dolog ("tag = %d\n", wfx->wFormatTag);
275 dolog ("nChannels = %d\n", wfx->nChannels);
276 dolog ("nSamplesPerSec = %ld\n", wfx->nSamplesPerSec);
277 dolog ("nAvgBytesPerSec = %ld\n", wfx->nAvgBytesPerSec);
278 dolog ("nBlockAlign = %d\n", wfx->nBlockAlign);
279 dolog ("wBitsPerSample = %d\n", wfx->wBitsPerSample);
280 dolog ("cbSize = %d\n", wfx->cbSize);
435 WAVEFORMATEX wfx;
456 err = waveformat_from_audio_settings (&wfx, &conf.settings);
478 hr = IDirectSoundBuffer_SetFormat (s->dsound_primary_buffer, &wfx);
485 &wfx,
486 sizeof (wfx),
496 print_wave_format (&wfx);
499 err = waveformat_to_audio_settings (&wfx, &s->settings);