SFXInternal::SFXStreamPacket
Engine/source/sfx/sfxInternal.h
Sound stream packets are raw byte buffers containing PCM sample data.
Public Types
AsyncPacket< U8 >
Parent
Public Functions
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.