Torque3D Documentation / _generateds / SFXInternal::SFXStreamPacket

SFXInternal::SFXStreamPacket

Engine/source/sfx/sfxInternal.h

Sound stream packets are raw byte buffers containing PCM sample data.

More...

Public Types

Parent 

Public Attributes

The format of the sound samples in the packet.

Public Functions

SFXStreamPacket(U8 * data, U32 size, bool ownMemory)

Detailed Description

Sound stream packets are raw byte buffers containing PCM sample data.

Public Types

typedef AsyncPacket< U8 > Parent 

Public Attributes

SFXFormat mFormat 

The format of the sound samples in the packet.

Public Functions

SFXStreamPacket()

SFXStreamPacket(U8 * data, U32 size, bool ownMemory)

getSampleCount()

return:

the number of samples contained in the packet.