C# Class TagTool.Sounds.SoundBank

A Wwise sound bank.
Mostrar archivo Open project: TheGuardians/TagTool Class Usage Examples

Public Methods

Method Description
FindEventById ( uint id ) : SoundBankEvent

Finds an event in the sound bank by ID.

FindFileById ( uint id ) : SoundBankFile

Finds a file in the sound bank by ID.

SoundBank ( EndianReader reader ) : System.Collections.Generic

Loads a SoundBank from a stream.

SoundBank ( EndianReader reader, long fileSize ) : System.Collections.Generic

Loads a SoundBank from a stream.

Private Methods

Method Description
ReadBlocks ( EndianReader reader, long fileSize ) : void
ReadFiles ( EndianReader reader, long blockSize ) : void
ReadHeader ( EndianReader reader ) : void
ReadObjects ( EndianReader reader ) : void

Method Details

FindEventById() public method

Finds an event in the sound bank by ID.
public FindEventById ( uint id ) : SoundBankEvent
id uint The ID of the event to find.
return SoundBankEvent

FindFileById() public method

Finds a file in the sound bank by ID.
public FindFileById ( uint id ) : SoundBankFile
id uint The ID of the file to find.
return SoundBankFile

SoundBank() public method

Loads a SoundBank from a stream.
public SoundBank ( EndianReader reader ) : System.Collections.Generic
reader TagTool.IO.EndianReader The EndianReader to read from.
return System.Collections.Generic

SoundBank() public method

Loads a SoundBank from a stream.
public SoundBank ( EndianReader reader, long fileSize ) : System.Collections.Generic
reader TagTool.IO.EndianReader The EndianReader to read from.
fileSize long The size of the bank file if embedded in a stream.
return System.Collections.Generic