MixFrom() public méthode

Additive copy from a float[]
public MixFrom ( float sourceArray, int destinationIndex, int sourceIndex, int length ) : void
sourceArray float
destinationIndex int
sourceIndex int
length int
Résultat void
        bool IGATTrackContributor.MixToTrack(GATData trackMonoBuffer, int trackNb)
        {
            if (_streamBuffer == null || _streamDataEmpty)
            {
                return(false);
            }

            if (_exclusive)
            {
                trackMonoBuffer.CopyFrom(_streamBuffer, 0, _streamOffset, GATInfo.AudioBufferSizePerChannel);
            }
            else
            {
                trackMonoBuffer.MixFrom(_streamBuffer, 0, _streamOffset, GATInfo.AudioBufferSizePerChannel);
            }

            return(true);
        }
        bool IGATTrackContributor.MixToTrack( GATData trackMonoBuffer, int trackNb )
        {
            if( _streamBuffer == null || _streamDataEmpty )
                return false;

            if( _exclusive )
            {
                trackMonoBuffer.CopyFrom( _streamBuffer, 0, _streamOffset, GATInfo.AudioBufferSizePerChannel );
            }
            else
            {
                trackMonoBuffer.MixFrom( _streamBuffer, 0, _streamOffset, GATInfo.AudioBufferSizePerChannel );
            }

            return true;
        }