![]() |
![]() |
Creates a sound bank for use by the XACT engine.
STDAPI CreateSoundBank( void *pvBuffer, DWORD dwSize, DWORD dwFlags, DWORD dwAllocAttributes, IXACTSoundBank **ppSoundBank );
Value | Description |
---|---|
XACT_FLAG_API_CREATE_MANAGEDATA |
Indicates that XACT should free the buffer pointed to by the pvBuffer parameter when the sound bank data is released. Note XACT will not attempt to free the memory if the buffer allocation fails. |
Returns S_OK if successful, an error code otherwise.
Header: Declared in Xact.h.