// make Seek Table
SeekPoint[] points = new SeekPoint[albumFiles.size()];
SeekTable seekTable = new SeekTable(points, true);
int metadataHeader = ( Metadata.STREAM_METADATA_IS_LAST_LEN + Metadata.STREAM_METADATA_TYPE_LEN + Metadata.STREAM_METADATA_LENGTH_LEN ) / 8;
int metadataOffset = Constants.STREAM_SYNC_STRING.length + masterStreamInfo.calcLength() + seekTable.calcLength() + metadataHeader * 2;
for (int i = 0; i < albumFiles.size(); i++) {
PackerFile aFile = (PackerFile) albumFiles.get(i);
appendMsg("SeekTable build " + i + " Offset=" + aFile.seekPoint.getStreamOffset() + " header=" + metadataOffset);
aFile.seekPoint.setStreamOffset(aFile.seekPoint.getStreamOffset() + metadataOffset);
points[i] = aFile.seekPoint;