C# Class RocksmithToolkitLib.DLCPackage.SoundBankGenerator2014

RS2 SoundBank(.BNK) generator class
Mostrar archivo Open project: rscustom/rocksmith-custom-song-toolkit

Public Methods

Method Description
GenerateSoundBank ( string soundbankName, Stream audioStream, Stream outStream, float volume, System.Platform platform, bool preview = false, bool sameID = false ) : string

Private Methods

Method Description
DataIndex ( int id, int len ) : byte[]
HashString ( String str ) : uint
Header ( int id, int didxSize, bool isConsole ) : byte[]
Hierarchy ( int bankid, int soundid, int fileid, string name, float volume, bool preview, bool isConsole ) : byte[]
HierarchyAction ( int id, int objid, int bankid ) : byte[]
HierarchyActorMixer ( int id, int soundid ) : byte[]
HierarchyEvent ( int id, string name ) : byte[]
HierarchySound ( int id, int fileid, int mixerid, float volume, bool preview, bool isConsole ) : byte[]
StringID ( int id, string name ) : byte[]
WriteChunk ( EndianBinaryWriter w, string name, byte chunkData ) : void

Method Details

GenerateSoundBank() public static method

public static GenerateSoundBank ( string soundbankName, Stream audioStream, Stream outStream, float volume, System.Platform platform, bool preview = false, bool sameID = false ) : string
soundbankName string
audioStream Stream
outStream Stream
volume float
platform System.Platform
preview bool
sameID bool
return string