Share via


XACT_RUNTIME_PARAMETERS

XACT_RUNTIME_PARAMETERS

Runtime parameters for initialization of the XACT engine.

typedef struct XACT_RUNTIME_PARAMETERS {
    DWORD lookAheadTime;
    void *pGlobalSettingsBuffer;
    DWORD globalSettingsBufferSize;
    DWORD globalSettingsFlags;
    DWORD globalSettingsAllocAttributes;
    XACT_FILEIO_CALLBACKS fileIOCallbacks;
    XACT_NOTIFICATION_CALLBACK fnNotificationCallback;
    PWSTR pRendererID;
} XACT_RUNTIME_PARAMETERS, *LPXACT_RUNTIME_PARAMETERS;

typedef const XACT_RUNTIME_PARAMETERS *LPCXACT_RUNTIME_PARAMETERS;

Members

  • lookAheadTime
    Interactive audio and branch event look-ahead time, in milliseconds. This specifies how far ahead the XACT engine will look ahead when determining when to transition to another sound. XACT_ENGINE_LOOKAHEAD_DEFAULT is a good default value to use for this member.
  • pGlobalSettingsBuffer
    Buffer containing the global file data. This file is generated when you build an XACT project file. It contains category, variable, and RPC information.
  • globalSettingsBufferSize
    Size of the data buffer associated with pGlobalSettingsBuffer.
  • globalSettingsFlags
    Flag values indicating how global file data should be handled by XACT. This member can be zero or the value shown in the following table.
  • globalSettingsAllocAttributes
    Flag values that indicate the attributes of the memory buffer pointed to by pGlobalSettingsBuffer.
  • fileIOCallbacks
    File I/O callbacks.
  • fnNotificationCallback
    Callback that receives notifications.
  • pRendererID
    Pointer to the ID for the audio renderer the engine should connect to.

Requirements

Header: Declared in Xact.h.

See Also

XACT Structures, IXACTEngine::Initialize