Searched refs:wfx (Results 1 – 5 of 5) sorted by relevance
/external/qemu/audio/ |
D | audio_win_int.c | 14 int waveformat_from_audio_settings (WAVEFORMATEX *wfx, in waveformat_from_audio_settings() argument 17 memset (wfx, 0, sizeof (*wfx)); in waveformat_from_audio_settings() 19 wfx->wFormatTag = WAVE_FORMAT_PCM; in waveformat_from_audio_settings() 20 wfx->nChannels = as->nchannels; in waveformat_from_audio_settings() 21 wfx->nSamplesPerSec = as->freq; in waveformat_from_audio_settings() 22 wfx->nAvgBytesPerSec = as->freq << (as->nchannels == 2); in waveformat_from_audio_settings() 23 wfx->nBlockAlign = 1 << (as->nchannels == 2); in waveformat_from_audio_settings() 24 wfx->cbSize = 0; in waveformat_from_audio_settings() 29 wfx->wBitsPerSample = 8; in waveformat_from_audio_settings() 34 wfx->wBitsPerSample = 16; in waveformat_from_audio_settings() [all …]
|
D | dsound_template.h | 185 WAVEFORMATEX wfx; in dsound_init_in() local 204 err = waveformat_from_audio_settings (&wfx, as); in dsound_init_in() 211 bd.lpwfxFormat = &wfx; in dsound_init_in() 236 hr = glue (IFACE, _GetFormat) (ds->FIELD, &wfx, sizeof (wfx), NULL); in dsound_init_in() 244 print_wave_format (&wfx); in dsound_init_in() 256 err = waveformat_to_audio_settings (&wfx, &obt_as); in dsound_init_in()
|
D | dsoundaudio.c | 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() [all …]
|
D | audio_win_int.h | 4 int waveformat_from_audio_settings (WAVEFORMATEX *wfx, 7 int waveformat_to_audio_settings (WAVEFORMATEX *wfx,
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
D | proxies-example-membrane.js | 244 var wfx = w.f({a: 6}); variable 261 assertThrows(function() { wfx.a }, Error); 279 assertEquals(6, wfx.a); 489 var wfx = w.f({a: 6}) 508 assertEquals(6, wfx.a)
|