Ejemplo n.º 1
0
 public void InitializeSize(uint sdkVersion, uint langMapTotalSize)
 {
     HeaderSize  = 0;
     HeaderSize += kSizeOfHeader;
     HeaderSize += sizeof(uint);             // field for lang map size
     HeaderSize += sizeof(uint);             // field for LUT size (sound banks)
     HeaderSize += sizeof(uint);             // field for LUT size (streamed files)
     if (AkVersion.HasExternalFiles(sdkVersion))
     {
         HeaderSize += sizeof(uint);                 // field for LUT size (external files)
     }
     HeaderSize += langMapTotalSize;
 }
Ejemplo n.º 2
0
        public AkFilePackage(AkFilePackageSettings settings)
        {
            Settings = settings;

            mLangMap = new AkLanguageMap(settings.UseAsciiStrings);

            mSoundBanksTable    = new AkFileLookupTable();
            mStreamedFilesTable = new AkFileLookupTable();

            if (AkVersion.HasExternalFiles(settings.SdkVersion))
            {
                mExternalFilesTable = new AkFileLookupTable();
            }
        }