/[svn]/libgig/trunk/src/gigdump.cpp
ViewVC logotype

Diff of /libgig/trunk/src/gigdump.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 235 by schoenebeck, Thu Sep 9 18:37:22 2004 UTC revision 282 by schoenebeck, Wed Oct 13 20:05:42 2004 UTC
# Line 131  void PrintRegions(gig::Instrument* instr Line 131  void PrintRegions(gig::Instrument* instr
131              cout << "<NO_VALID_SAMPLE_REFERENCE> ";              cout << "<NO_VALID_SAMPLE_REFERENCE> ";
132          }          }
133          cout << "            KeyRange=" << pRegion->KeyRange.low << "-" << pRegion->KeyRange.high << ", ";          cout << "            KeyRange=" << pRegion->KeyRange.low << "-" << pRegion->KeyRange.high << ", ";
134          cout << "VelocityRange=" << pRegion->VelocityRange.low << "-" << pRegion->VelocityRange.high << ", Layer=" << pRegion->Layer << endl;          cout << "VelocityRange=" << pRegion->VelocityRange.low << "-" << pRegion->VelocityRange.high << ", Layers=" << pRegion->Layers << endl;
135          cout << "            Loops=" << pRegion->SampleLoops << endl;          cout << "            Loops=" << pRegion->SampleLoops << endl;
136          cout << "            Dimensions=" << pRegion->Dimensions << endl;          cout << "            Dimensions=" << pRegion->Dimensions << endl;
137          for (int iDimension = 0; iDimension < pRegion->Dimensions; iDimension++) {          for (int iDimension = 0; iDimension < pRegion->Dimensions; iDimension++) {
# Line 233  void PrintRegions(gig::Instrument* instr Line 233  void PrintRegions(gig::Instrument* instr
233                      cout << "UNKNOWN - please report this !";                      cout << "UNKNOWN - please report this !";
234                      break;                      break;
235              }              }
236              cout << ", Bits=" << (uint) DimensionDef.bits << ", Zones=" << (uint) DimensionDef.zones << endl;              cout << ", Bits=" << (uint) DimensionDef.bits << ", Zones=" << (uint) DimensionDef.zones;
237                cout << ", SplitType=";
238                switch (DimensionDef.split_type) {
239                    case gig::split_type_normal:
240                        cout << "NORMAL" << endl;
241                        break;
242                    case gig::split_type_customvelocity:
243                        cout << "CUSTOMVELOCITY" << endl;
244                        break;
245                    case gig::split_type_bit:
246                        cout << "BIT" << endl;
247                        break;
248                    default:
249                        cout << "UNKNOWN" << endl;
250                }
251          }          }
252    
253          PrintDimensionRegions(pRegion);          PrintDimensionRegions(pRegion);
# Line 284  void PrintDimensionRegions(gig::Region* Line 298  void PrintDimensionRegions(gig::Region*
298                  cout << "UNKNOWN - please report this !";                  cout << "UNKNOWN - please report this !";
299          }          }
300          cout << ", VelocityResponseDepth=" << (int) pDimensionRegion->VelocityResponseDepth << ", VelocityResponseCurveScaling=" << (int) pDimensionRegion->VelocityResponseCurveScaling << endl;          cout << ", VelocityResponseDepth=" << (int) pDimensionRegion->VelocityResponseDepth << ", VelocityResponseCurveScaling=" << (int) pDimensionRegion->VelocityResponseCurveScaling << endl;
301            cout << "                Pan=" << (int) pDimensionRegion->Pan << endl;
302    
303          dimensionRegions++;          dimensionRegions++;
304      }      }

Legend:
Removed from v.235  
changed lines
  Added in v.282

  ViewVC Help
Powered by ViewVC