DSCBUFFERDESC

The DSCBUFFERDESC structure is used by the IDirectSoundCapture::CreateCaptureBuffer method.

typedef struct

DWORD dwSize;

DWORD dwFlags;

DWORD dwBufferBytes;

DWORD dwReserved;

LPWAVEFORMATEX lpwfxFormat;

} DSCBUFFERDESC, *LPDSCBUFFERDESC;

typedef const DSCBUFFERDESC *LPCDSCBUFFERDESC;

Members
dwSize
Size of the structure, in bytes. This member must be initialized before the structure is used.
dwFlags
Specifies device capabilities. Can be NULL or the following flag:
DSCBCAPS_WAVEMAPPED
The Win32 wave mapper will be used for formats not supported by the device.


dwBufferBytes
Size of capture buffer to create, in bytes.
dwReserved
Reserved for future use.
lpwfxFormat
Pointer to a WAVEFORMATEX structure containing the format in which to capture the data.