377 |
} |
} |
378 |
} |
} |
379 |
|
|
380 |
|
template<typename T_int> |
381 |
|
static void printIntArray(T_int* array, int size) { |
382 |
|
printf("{"); |
383 |
|
for (int i = 0; i < size; ++i) |
384 |
|
printf("[%d]=%d,", i, array[i]); |
385 |
|
printf("}"); |
386 |
|
fflush(stdout); |
387 |
|
} |
388 |
|
|
389 |
void PrintDimensionRegions(gig::Region* rgn) { |
void PrintDimensionRegions(gig::Region* rgn) { |
390 |
int dimensionRegions = 0; |
int dimensionRegions = 0; |
391 |
gig::DimensionRegion* pDimensionRegion; |
gig::DimensionRegion* pDimensionRegion; |
429 |
cout << "UNKNOWN - please report this !"; |
cout << "UNKNOWN - please report this !"; |
430 |
} |
} |
431 |
cout << ", VelocityResponseDepth=" << (int) pDimensionRegion->VelocityResponseDepth << ", VelocityResponseCurveScaling=" << (int) pDimensionRegion->VelocityResponseCurveScaling << endl; |
cout << ", VelocityResponseDepth=" << (int) pDimensionRegion->VelocityResponseDepth << ", VelocityResponseCurveScaling=" << (int) pDimensionRegion->VelocityResponseCurveScaling << endl; |
432 |
|
cout << " VelocityUpperLimit=" << (int) pDimensionRegion->VelocityUpperLimit << " DimensionUpperLimits[]=" << flush; |
433 |
|
printIntArray(pDimensionRegion->DimensionUpperLimits, 8); |
434 |
|
cout << endl; |
435 |
|
#if 0 // requires access to protected member VelocityTable, so commented out for now |
436 |
|
if (pDimensionRegion->VelocityTable) { |
437 |
|
cout << " VelocityTable[]=" << flush; |
438 |
|
printIntArray(pDimensionRegion->VelocityTable, 127); |
439 |
|
cout << endl; |
440 |
|
} |
441 |
|
#endif |
442 |
cout << " Pan=" << (int) pDimensionRegion->Pan << endl; |
cout << " Pan=" << (int) pDimensionRegion->Pan << endl; |
443 |
|
|
444 |
dimensionRegions++; |
dimensionRegions++; |