Legendary Explorer Core Nightly
Core library for working with Mass Effect Trilogy / Legendary Edition files
Loading...
Searching...
No Matches
CompressionInfoBankChunk Class Reference

ISACT Compression Info bank chunk. More...

Inheritance diagram for CompressionInfoBankChunk:
BankChunk

Public Types

enum  ISACTCompressionFormat {
  PCM = 0 , IMA4ADPCM = 1 , OGGVORBIS = 2 , WMA = 3 ,
  XMA = 4 , MSMP3 = 5 , MSADPCM = 6 , MSPCMBIG = 7
}
 The type of audio that is stored. More...

Public Member Functions

 CompressionInfoBankChunk (Stream inStream, BankChunk parent)
override void Write (Stream outStream)
override string ToChunkDisplay ()
Public Member Functions inherited from BankChunk
 BankChunk ()
 BankChunk (string chunkName, int chunkLen, Stream inStream, BankChunk parent)
IEnumerable< BankChunk > GetAllSubChunks ()
BankChunk GetParent ()

Public Attributes

ISACTCompressionFormat CurrentFormat
 Should be same as Target in processed ISB.
ISACTCompressionFormat TargetFormat
 Should be same as current in processed ISB.
int TotalSize
 Size of the compressed data block.
int PacketSize
 Not sure.
float CompressionRatio
 Ratio chosen to compress data with.
float CompressionQuality
 Not sure.
Public Attributes inherited from BankChunk
string ChunkName
byte[] RawData
List< BankChunk > SubChunks = new List<BankChunk>(0)
 Some chunks have subchunks.

Static Public Attributes

static readonly string FixedChunkTitle = "cmpi"
 The defined name of this chunk.

Additional Inherited Members

Protected Attributes inherited from BankChunk
BankChunk Parent
 References the containing object.
Properties inherited from BankChunk
long ChunkDataStartOffset [get]
 The offset in which this bank's data starts - + 8 after header & size. For name only this should not be used.

Detailed Description

ISACT Compression Info bank chunk.

Member Enumeration Documentation

◆ ISACTCompressionFormat

The type of audio that is stored.

Enumerator
PCM 
IMA4ADPCM 
OGGVORBIS 
WMA 
XMA 
MSMP3 

PS3 only - MSF MP3.

MSADPCM 

PS3 only - MSF ADPCM.

MSPCMBIG 

PS3 only - MSF PCM Big Endian.

Constructor & Destructor Documentation

◆ CompressionInfoBankChunk()

CompressionInfoBankChunk.CompressionInfoBankChunk ( Stream inStream,
BankChunk parent )
inline

Member Function Documentation

◆ Write()

override void CompressionInfoBankChunk.Write ( Stream outStream)
inlinevirtual

Reimplemented from BankChunk.

◆ ToChunkDisplay()

override string CompressionInfoBankChunk.ToChunkDisplay ( )
inlinevirtual

Reimplemented from BankChunk.

Member Data Documentation

◆ FixedChunkTitle

readonly string CompressionInfoBankChunk.FixedChunkTitle = "cmpi"
static

The defined name of this chunk.

◆ CurrentFormat

ISACTCompressionFormat CompressionInfoBankChunk.CurrentFormat

Should be same as Target in processed ISB.

◆ TargetFormat

ISACTCompressionFormat CompressionInfoBankChunk.TargetFormat

Should be same as current in processed ISB.

◆ TotalSize

int CompressionInfoBankChunk.TotalSize

Size of the compressed data block.

◆ PacketSize

int CompressionInfoBankChunk.PacketSize

Not sure.

◆ CompressionRatio

float CompressionInfoBankChunk.CompressionRatio

Ratio chosen to compress data with.

◆ CompressionQuality

float CompressionInfoBankChunk.CompressionQuality

Not sure.


The documentation for this class was generated from the following file: