Searched refs:lpcDSBufferDesc (Results 1 – 6 of 6) sorted by relevance
/reactos/dll/directx/dsound_new/ |
H A D | directsound.c | 88 LPCDSBUFFERDESC lpcDSBufferDesc, in IDirectSound8_fnCreateSoundBuffer() argument 101 if (!lpcDSBufferDesc || !lplpDirectSoundBuffer || pUnkOuter != NULL) in IDirectSound8_fnCreateSoundBuffer() 108 …if ((lpcDSBufferDesc->dwSize != sizeof(DSBUFFERDESC) && lpcDSBufferDesc->dwSize != sizeof(DSBUFFER… in IDirectSound8_fnCreateSoundBuffer() 110 …iption size %u expected %u dwReserved %u\n", lpcDSBufferDesc->dwSize, sizeof(DSBUFFERDESC1), lpcDS… in IDirectSound8_fnCreateSoundBuffer() 114 …t %p dwSize %u\n", This, lpcDSBufferDesc->dwFlags, lpcDSBufferDesc->dwBufferBytes, lpcDSBufferDesc… in IDirectSound8_fnCreateSoundBuffer() 116 if (lpcDSBufferDesc->dwFlags & DSBCAPS_PRIMARYBUFFER) in IDirectSound8_fnCreateSoundBuffer() 118 if (lpcDSBufferDesc->lpwfxFormat != NULL) in IDirectSound8_fnCreateSoundBuffer() 124 if (lpcDSBufferDesc->dwBufferBytes != 0) in IDirectSound8_fnCreateSoundBuffer() 148 if (lpcDSBufferDesc->lpwfxFormat == NULL) in IDirectSound8_fnCreateSoundBuffer() 154 … if (lpcDSBufferDesc->dwBufferBytes < DSBSIZE_MIN || lpcDSBufferDesc->dwBufferBytes > DSBSIZE_MAX) in IDirectSound8_fnCreateSoundBuffer() [all …]
|
H A D | capture.c | 87 LPCDSCBUFFERDESC lpcDSBufferDesc, in CDirectSoundCapture_fnCreateCaptureBuffer() argument 100 if (!lpcDSBufferDesc || !ppDSCBuffer || pUnkOuter != NULL) in CDirectSoundCapture_fnCreateCaptureBuffer() 107 …if ((lpcDSBufferDesc->dwSize != sizeof(DSCBUFFERDESC) && lpcDSBufferDesc->dwSize != sizeof(DSCBUFF… in CDirectSoundCapture_fnCreateCaptureBuffer() 108 …lpcDSBufferDesc->dwReserved != 0 || lpcDSBufferDesc->dwBufferBytes == 0 || lpcDSBufferDesc->lpwfxF… in CDirectSoundCapture_fnCreateCaptureBuffer() 115 …lpcDSBufferDesc->lpwfxFormat->wFormatTag, lpcDSBufferDesc->lpwfxFormat->nChannels, lpcDSBufferDesc… in CDirectSoundCapture_fnCreateCaptureBuffer() 117 …DirectSoundCaptureBuffer((LPDIRECTSOUNDCAPTUREBUFFER8*)ppDSCBuffer, This->Filter, lpcDSBufferDesc); in CDirectSoundCapture_fnCreateCaptureBuffer()
|
H A D | secondary.c | 615 LPCDSBUFFERDESC lpcDSBufferDesc, in NewSecondarySoundBuffer() argument 627 FormatSize = sizeof(WAVEFORMATEX) + lpcDSBufferDesc->lpwfxFormat->cbSize; in NewSecondarySoundBuffer() 638 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() 657 This->dwFlags = lpcDSBufferDesc->dwFlags; in NewSecondarySoundBuffer() 658 This->dwFrequency = lpcDSBufferDesc->lpwfxFormat->nSamplesPerSec; in NewSecondarySoundBuffer() 664 This->BufferSize = lpcDSBufferDesc->dwBufferBytes; in NewSecondarySoundBuffer() 667 CopyMemory(This->Format, lpcDSBufferDesc->lpwfxFormat, FormatSize); in NewSecondarySoundBuffer()
|
H A D | capturebuffer.c | 690 LPCDSCBUFFERDESC lpcDSBufferDesc) in NewDirectSoundCaptureBuffer() argument 706 FormatSize = sizeof(WAVEFORMATEX) + lpcDSBufferDesc->lpwfxFormat->cbSize; in NewDirectSoundCaptureBuffer() 717 ASSERT(lpcDSBufferDesc->dwBufferBytes); in NewDirectSoundCaptureBuffer() 720 This->Buffer = HeapAlloc(GetProcessHeap(), 0, lpcDSBufferDesc->dwBufferBytes); in NewDirectSoundCaptureBuffer() 730 This->BufferSize = lpcDSBufferDesc->dwBufferBytes; in NewDirectSoundCaptureBuffer() 731 ASSERT(lpcDSBufferDesc->lpwfxFormat->cbSize == 0); in NewDirectSoundCaptureBuffer() 741 Result = OpenPin(Filter->hFilter, PinId, lpcDSBufferDesc->lpwfxFormat, &This->hPin, TRUE); in NewDirectSoundCaptureBuffer() 787 MixBufferSize = lpcDSBufferDesc->dwBufferBytes; in NewDirectSoundCaptureBuffer() 788 MixBufferSize /= lpcDSBufferDesc->lpwfxFormat->nChannels; in NewDirectSoundCaptureBuffer() 789 MixBufferSize /= (lpcDSBufferDesc->lpwfxFormat->wBitsPerSample/8); in NewDirectSoundCaptureBuffer() [all …]
|
H A D | precomp.h | 223 LPCDSBUFFERDESC lpcDSBufferDesc, 250 LPCDSCBUFFERDESC lpcDSBufferDesc);
|
/reactos/sdk/include/psdk/ |
H A D | dsound.h | 438 …STDMETHOD(CreateSoundBuffer)(THIS_ LPCDSBUFFERDESC lpcDSBufferDesc, LPLPDIRECTSOUNDBUFFER lplpDire… in DECLARE_INTERFACE_() 491 …STDMETHOD(CreateSoundBuffer)(THIS_ LPCDSBUFFERDESC lpcDSBufferDesc, LPLPDIRECTSOUNDBUFFER lplpDire… in DECLARE_INTERFACE_() 556 STDMETHOD(Initialize)(THIS_ LPDIRECTSOUND lpDirectSound, LPCDSBUFFERDESC lpcDSBufferDesc) PURE; in DECLARE_INTERFACE_() 639 STDMETHOD(Initialize)(THIS_ LPDIRECTSOUND lpDirectSound, LPCDSBUFFERDESC lpcDSBufferDesc) PURE; in DECLARE_INTERFACE_()
|