Share via


IXACTEngine::CreateStreamingWaveBank

IXACTEngine::CreateStreamingWaveBank

Creates an IXACTWaveBank instance.

[Code-driven][Content-driven]

  HRESULT 
  CreateStreamingWaveBank(
  const XACT_WAVEBANK_STREAMING_PARAMETERS *pParms,
  IXACTWaveBank **ppWaveBank
);

Parameters

  • pParms
    [in] Pointer to an XACT_WAVEBANK_STREAMING_PARAMETERS structure that describes the streaming wave bank to create.
  • ppWaveBank
    [out] Pointer to the location of the handle for the newly created IXACTWaveBank instance.

Return Values

Returns S_OK if successful. Otherwise, an error code.

Remarks

Do not use a sound that is associated with a streaming wave bank unless you know that the wave bank is prepared.

To ascertain that the wave bank is prepared, do one of the following:

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

IXACTEngine