Beispiel #1
0
    public TmKeyRec(TmKeyRec _origin)
    {
        mBuffSize = _origin.mBuffSize;
        mInfo     = new KeyInfo(_origin.keyInfo);
//		mRecInfo = (KeyInfo[])_origin.mRecInfo.Clone();
        mRecInfo = new KeyInfo[_origin.mBuffSize];
        Array.Copy(_origin.mRecInfo, 0, mRecInfo, 0, _origin.mRecSize);
        mBuffPtr  = _origin.mBuffPtr;
        mRecSize  = _origin.mRecSize;
        mRecCtr   = _origin.mRecCtr;
        mPlayCtr  = _origin.mPlayCtr;
        mState    = _origin.mState;
        mBuffType = _origin.mBuffType;
        mPad      = new PAD(_origin.mPad);
        mDebug    = new KeyInfoDebug();
    }
Beispiel #2
0
 public TmKeyRec(TmKeyRec _origin)
 {
     mBuffSize = _origin.mBuffSize;
     mInfo = new KeyInfo(_origin.keyInfo);
     //		mRecInfo = (KeyInfo[])_origin.mRecInfo.Clone();
     mRecInfo = new KeyInfo[_origin.mBuffSize];
     Array.Copy(_origin.mRecInfo,0,mRecInfo,0,_origin.mRecSize);
     mBuffPtr = _origin.mBuffPtr;
     mRecSize = _origin.mRecSize;
     mRecCtr = _origin.mRecCtr;
     mPlayCtr = _origin.mPlayCtr;
     mState = _origin.mState;
     mBuffType = _origin.mBuffType;
     mPad = new PAD(_origin.mPad);
     mDebug = new KeyInfoDebug();
 }