Home
last modified time | relevance | path

Searched refs:dwBufferBytes (Results 1 – 18 of 18) sorted by relevance

/reactos/modules/rostests/winetests/dsound/
H A Dcapture.c367 state.buffer_size = dscbcaps.dwBufferBytes; in test_capture_buffer()
370 state.size = dscbcaps.dwBufferBytes / NOTIFICATIONS; in test_capture_buffer()
480 bufdesc.dwBufferBytes=0; in dscenum_callback()
497 bufdesc.dwBufferBytes=0; in dscenum_callback()
515 bufdesc.dwBufferBytes=0; in dscenum_callback()
533 bufdesc.dwBufferBytes=0; in dscenum_callback()
552 bufdesc.dwBufferBytes=wfx.nAvgBytesPerSec; in dscenum_callback()
583 bufdesc1.dwBufferBytes=wfx.nAvgBytesPerSec; in dscenum_callback()
618 bufdesc.dwBufferBytes=wfx.nAvgBytesPerSec; in dscenum_callback()
642 bufdesc.dwBufferBytes=wfx.nAvgBytesPerSec; in dscenum_callback()
[all …]
H A Dds3d8.c197 dsbcaps.dwBufferBytes); in test_buffer8()
297 new_dsbcaps.dwBufferBytes); in test_buffer8()
301 ok(new_dsbcaps.dwBufferBytes == dsbcaps.dwBufferBytes, in test_buffer8()
304 dsbcaps.dwBufferBytes, new_dsbcaps.dwBufferBytes); in test_buffer8()
305 dsbcaps.dwBufferBytes = new_dsbcaps.dwBufferBytes; in test_buffer8()
435 rc = IDirectSoundBuffer_Lock(*dsbo, dsbcaps.dwBufferBytes, 0, &buffer1, in test_buffer8()
442 rc = IDirectSoundBuffer_Lock(*dsbo, 0, dsbcaps.dwBufferBytes + 1, in test_buffer8()
452 state.buffer_size=dsbcaps.dwBufferBytes; in test_buffer8()
634 bufdesc.dwBufferBytes=align(wfx.nAvgBytesPerSec*BUFFER_LEN/1000, in test_secondary8()
H A Dduplex.c165 DSCBufferDesc.dwBufferBytes = 8192; in IDirectSoundFullDuplex_tests()
171 DSBufferDesc.dwBufferBytes = 8192; in IDirectSoundFullDuplex_tests()
267 bufdesc.dwBufferBytes = wfx.nAvgBytesPerSec; in test_COM()
271 cbufdesc.dwBufferBytes = wfx.nAvgBytesPerSec; in test_COM()
H A Dds3d.c354 dsbcaps.dwBufferBytes); in test_buffer()
456 new_dsbcaps.dwBufferBytes); in test_buffer()
460 ok(new_dsbcaps.dwBufferBytes == dsbcaps.dwBufferBytes, in test_buffer()
463 dsbcaps.dwBufferBytes, new_dsbcaps.dwBufferBytes); in test_buffer()
464 dsbcaps.dwBufferBytes = new_dsbcaps.dwBufferBytes; in test_buffer()
600 rc = IDirectSoundBuffer_Lock(*dsbo, dsbcaps.dwBufferBytes, 0, &buffer1, in test_buffer()
607 rc = IDirectSoundBuffer_Lock(*dsbo, 0, dsbcaps.dwBufferBytes + 1, in test_buffer()
620 state.buffer_size=dsbcaps.dwBufferBytes; in test_buffer()
802 bufdesc.dwBufferBytes=align(wfx.nAvgBytesPerSec*BUFFER_LEN/1000, in test_secondary()
H A Ddsound.c321 bufdesc.dwBufferBytes=align(wfx.nAvgBytesPerSec*BUFFER_LEN/1000, in test_dsound()
621 bufdesc.dwBufferBytes=align(wfx.nAvgBytesPerSec*BUFFER_LEN/1000, in test_primary_secondary()
724 bufdesc.dwBufferBytes=align(wfx.nAvgBytesPerSec*BUFFER_LEN/1000, in test_secondary()
736 bufdesc.dwBufferBytes=align(wfx.nAvgBytesPerSec*BUFFER_LEN/1000, in test_secondary()
901 bufdesc.dwBufferBytes=wfx.nAvgBytesPerSec + 1; in test_block_align()
915 ok(dsbcaps.dwBufferBytes==(wfx.nAvgBytesPerSec + wfx.nBlockAlign), in test_block_align()
917 "got %d, should be %d\n", bufdesc.dwBufferBytes, in test_block_align()
918 dsbcaps.dwBufferBytes, wfx.nAvgBytesPerSec + wfx.nBlockAlign); in test_block_align()
1004 bufdesc.dwBufferBytes=align((wfx.nAvgBytesPerSec*rates[r]/11025)* in test_frequency()
1551 bufdesc.dwBufferBytes = 0; in test_hw_buffers()
[all …]
H A Ddsound8.c328 bufdesc.dwBufferBytes=align(wfx.nAvgBytesPerSec*BUFFER_LEN/1000, in test_dsound8()
620 bufdesc.dwBufferBytes=align(wfx.nAvgBytesPerSec*BUFFER_LEN/1000, in test_primary_secondary8()
725 bufdesc.dwBufferBytes=align(wfx.nAvgBytesPerSec*BUFFER_LEN/1000, in test_secondary8()
737 bufdesc.dwBufferBytes=align(wfx.nAvgBytesPerSec*BUFFER_LEN/1000, in test_secondary8()
956 bufdesc.dwBufferBytes = 0; in test_hw_buffers()
992 bufdesc.dwBufferBytes = fmt.nSamplesPerSec * fmt.nBlockAlign / 10; in test_hw_buffers()
H A Dpropset.c612 bufdesc.dwBufferBytes=wfx.nAvgBytesPerSec; in dsenum_callback()
/reactos/dll/directx/dsound_new/
H A Ddirectsound.c114 …mat %p dwSize %u\n", This, lpcDSBufferDesc->dwFlags, lpcDSBufferDesc->dwBufferBytes, lpcDSBufferDe… in IDirectSound8_fnCreateSoundBuffer()
124 if (lpcDSBufferDesc->dwBufferBytes != 0) in IDirectSound8_fnCreateSoundBuffer()
154 … if (lpcDSBufferDesc->dwBufferBytes < DSBSIZE_MIN || lpcDSBufferDesc->dwBufferBytes > DSBSIZE_MAX) in IDirectSound8_fnCreateSoundBuffer()
H A Dcapturebuffer.c267 lpDSCBCaps->dwBufferBytes = This->BufferSize; in IDirectSoundCaptureBufferImpl_GetCaps()
717 ASSERT(lpcDSBufferDesc->dwBufferBytes); in NewDirectSoundCaptureBuffer()
720 This->Buffer = HeapAlloc(GetProcessHeap(), 0, lpcDSBufferDesc->dwBufferBytes); in NewDirectSoundCaptureBuffer()
730 This->BufferSize = lpcDSBufferDesc->dwBufferBytes; in NewDirectSoundCaptureBuffer()
787 MixBufferSize = lpcDSBufferDesc->dwBufferBytes; in NewDirectSoundCaptureBuffer()
H A Dsecondary.c638 ASSERT(lpcDSBufferDesc->dwBufferBytes); in NewSecondarySoundBuffer()
641 This->Buffer = HeapAlloc(GetProcessHeap(), 0, lpcDSBufferDesc->dwBufferBytes); in NewSecondarySoundBuffer()
651 …FillMemory(This->Buffer, lpcDSBufferDesc->dwBufferBytes, lpcDSBufferDesc->lpwfxFormat->wBitsPerSam… in NewSecondarySoundBuffer()
664 This->BufferSize = lpcDSBufferDesc->dwBufferBytes; in NewSecondarySoundBuffer()
H A Dcapture.c108 …lpcDSBufferDesc->dwReserved != 0 || lpcDSBufferDesc->dwBufferBytes == 0 || lpcDSBufferDesc->lpwfxF… in CDirectSoundCapture_fnCreateCaptureBuffer()
/reactos/dll/directx/wine/dsound/
H A Dbuffer.c826 caps->dwBufferBytes = This->buflen; in IDirectSoundBufferImpl_GetCaps()
943 if (dsbd->dwBufferBytes < DSBSIZE_MIN || dsbd->dwBufferBytes > DSBSIZE_MAX) { in IDirectSoundBufferImpl_Create()
944 WARN("invalid parameter: dsbd->dwBufferBytes = %d\n", dsbd->dwBufferBytes); in IDirectSoundBufferImpl_Create()
975 if (dsbd->dwBufferBytes % dsbd->lpwfxFormat->nBlockAlign) in IDirectSoundBufferImpl_Create()
976 dsb->buflen = dsbd->dwBufferBytes + in IDirectSoundBufferImpl_Create()
978 (dsbd->dwBufferBytes % dsbd->lpwfxFormat->nBlockAlign)); in IDirectSoundBufferImpl_Create()
980 dsb->buflen = dsbd->dwBufferBytes; in IDirectSoundBufferImpl_Create()
H A Dcapture.c310 lpDSCBCaps->dwBufferBytes = This->pdscbd->dwBufferBytes; in IDirectSoundCaptureBufferImpl_GetCaps()
834 (lpcDSCBufferDesc->dwBufferBytes == 0) || in IDirectSoundCaptureBufferImpl_Create()
901 buflen = lpcDSCBufferDesc->dwBufferBytes; in IDirectSoundCaptureBufferImpl_Create()
918 device->buflen = lpcDSCBufferDesc->dwBufferBytes; in IDirectSoundCaptureBufferImpl_Create()
946 buflen = lpcDSCBufferDesc->dwBufferBytes; in IDirectSoundCaptureBufferImpl_Create()
H A Dprimary.c1128 caps->dwBufferBytes = device->buflen; in PrimaryBufferImpl_GetCaps()
H A Ddsound.c1519 TRACE("(bufferbytes=%d)\n",dsbd->dwBufferBytes); in DirectSoundDevice_CreateSoundBuffer()
/reactos/dll/win32/mcicda/
H A Dmcicda.c121 fragLen = caps.dwBufferBytes/CDDA_FRAG_COUNT; in MCICDA_playLoop()
127 if ((curPos-lastPos+caps.dwBufferBytes)%caps.dwBufferBytes < fragLen) { in MCICDA_playLoop()
161 lastPos %= caps.dwBufferBytes; in MCICDA_playLoop()
1001 … desc.dwBufferBytes = (CDDA_FRAG_SIZE - (CDDA_FRAG_SIZE%RAW_SECTOR_SIZE)) * CDDA_FRAG_COUNT; in MCICDA_Play()
1015 rdInfo.SectorCount = min(desc.dwBufferBytes/RAW_SECTOR_SIZE, in MCICDA_Play()
/reactos/sdk/include/psdk/
H A Ddsound.h241 DWORD dwBufferBytes; member
280 DWORD dwBufferBytes; member
290 DWORD dwBufferBytes; member
350 DWORD dwBufferBytes; member
359 DWORD dwBufferBytes; member
380 DWORD dwBufferBytes; member
/reactos/dll/directx/wine/quartz/
H A Ddsoundrender.c492 buf_desc.dwBufferBytes = This->buf_size; in DSoundRender_CompleteConnect()