XACT_WAVEBANK_STREAMING_PARAMETERS

Streaming parameters for a wave bank.

typedef struct XACT_WAVEBANK_STREAMING_PARAMETERS {
    HANDLE file;
    DWORD offset;
    DWORD flags;
    WORD packetSize;
} XACT_WAVEBANK_STREAMING_PARAMETERS, *LPXACT_WAVEBANK_STREAMING_PARAMETERS;

Members

file
File handle associated with wave bank data.

Windows:  The file referenced by this handle must be opened with the following CreateFile flags: FILE_FLAG_OVERLAPPED | FILE_FLAG_NO_BUFFERING.

offset
Offset within the wave bank data file. This offset must be DVD sector aligned.
flags
Flags. Reserved for future use. Set to 0.
packetSize
Stream packet size, in sectors, to use for each stream. The minimum value is 2.

The size of a DVD sector is 2048 bytes. Therefore, setting this value to 2 would result in a packet size of 4096 bytes. Setting it to 3 would specify packets of 6144 bytes, setting it to 4 would specify packets of 8192 bytes, and so on.

The optimal DVD size is a multiple of 16 (1 DVD block = 16 DVD sectors).

Requirements

Header: Declared in Xact.h.

See Also

XACT Structures, IXACTEngine::CreateStreamingWaveBank