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