protected IMappingEntry Factory_IMappingEntry_MapsIdenticalMidiMsgRanges(
            MssMsgType msgType,
            int chanRangeBottom, int chanRamgeTop,
            int paramRangeBottom, int paramRangeTop)
        {
            MssMsgRange inMsgRange = new MssMsgRange();

            inMsgRange.InitPublicMembers(msgType, chanRangeBottom, chanRamgeTop, paramRangeBottom, paramRangeTop);

            MssMsgRange outMsgRange = new MssMsgRange();

            outMsgRange.InitPublicMembers(msgType, chanRangeBottom, chanRamgeTop, paramRangeBottom, paramRangeTop);

            IMappingEntry mapEntry = new MappingEntry();

            mapEntry.InMssMsgRange      = inMsgRange;
            mapEntry.OutMssMsgRange     = outMsgRange;
            mapEntry.OverrideDuplicates = DEFAULT_OVERRIDE_DUPLICATES;

            CurveShapeInfo curveInfo = new CurveShapeInfo();

            curveInfo.InitWithDefaultValues();
            mapEntry.CurveShapeInfo = curveInfo;

            return(mapEntry);
        }
 static MssMsgProcessorTest()
 {
     DEFAULT_CURVE_SHAPE_INFO = new CurveShapeInfo();
     DEFAULT_CURVE_SHAPE_INFO.InitWithDefaultValues();
 }
Exemple #3
0
 static MssMsgProcessorTest()
 {
     DEFAULT_CURVE_SHAPE_INFO = new CurveShapeInfo();
     DEFAULT_CURVE_SHAPE_INFO.InitWithDefaultValues();
 }