/* Just exit if we get invalid factors */
if (minFactor <= 0.0 || maxFactor <= 0.0 || maxFactor < minFactor) {
- #if DEBUG
+ #ifdef DEBUG
fprintf(stderr,
"libresample: "
"minFactor and maxFactor must be positive real numbers,\n"
int Nx;
int i, len;
- #if DEBUG
+ #ifdef DEBUG
fprintf(stderr, "resample_process: in=%d, out=%d lastFlag=%d\n",
inBufferLen, outBufferLen, lastFlag);
#endif
outSampleCount = 0;
if (factor < hp->minFactor || factor > hp->maxFactor) {
- #if DEBUG
+ #ifdef DEBUG
fprintf(stderr,
"libresample: factor %f is not between "
"minFactor=%f and maxFactor=%f",