Share via


XACTCreateStreamingWaveBank

XACTCreateStreamingWaveBank

Creates an IXACTWaveBank instance.

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

  STDAPI 
  XACTCreateStreamingWaveBank(
  const XACT_WAVEBANK_STREAMING_PARAMETERS *pParms,
  IXACTWaveBank **ppWaveBank
);

Parameters

  • pParms
    [in] Pointer to an XACT_WAVEBANK_STREAMING_PARAMETERS structure describing the streaming wave bank to create.
  • ppWaveBank
    [out] Pointer to where to store the handle for the newly created IXACTWaveBank instance.

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

You should not attempt to use a sound associated with a streaming wave bank until you know the wave bank has been prepared. Create an XACTNOTIFICATIONTYPE_WAVEBANKPREPARED notification using XACTRegisterNotification or query through IXACTWaveBank::GetState for the state of the wave bank until the XACT_WAVEBANKSTATE_PREPARED bit is set.

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

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

XACT Functions