Share via


XACTCreateSoundBank

XACTCreateSoundBank

Creates a sound bank for use by the XACT engine.

Windows:  This function is not supported on the Windows platform. Use IXACTEngine::CreateSoundBank

  STDAPI 
  XACTCreateSoundBank(
  const void *pvBuffer,
  DWORD dwSize,
  DWORD dwFlags,
  DWORD dwAllocAttributes,
  IXACTSoundBank **ppSoundBank
);

Parameters

  • pvBuffer
    [in] Pointer to the data used to create the sound bank.
  • dwSize
    [in] Value indicating the size of the data used to create the sound bank.
  • dwFlags
    [in] Flag value indicating how the sound bank should be created. This parameter can be zero or the value shown in the following table.
  • dwAllocAttributes
    [in] Flag values that indicate the attributes of the memory buffer pointed to by the pvBuffer parameter.
  • ppSoundBank
    [out] Pointer to a returned IXACTSoundBank object.

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

Note    This function has been deprecated. Titles should use IXACTEngine::CreateSoundBank.

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

XACT Functions