public CopyToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, int channelNb ) : void | ||
destinationArray | float | |
destinationOffset | int | |
sourceIndex | int | |
length | int | |
channelNb | int | |
return | void |
public void CopyToInterlaced( float[] destinationArray, int destinationOffset, int sourceIndex, int length, int channelNb )
{
sourceIndex = sourceIndex + _offset;
length = sourceIndex + length;
destinationOffset += channelNb;
while( sourceIndex < length )
{
destinationArray[ destinationOffset ] = _parentArray[sourceIndex];
destinationOffset += GATInfo.NbOfChannels;
sourceIndex++;
}
}