Browse Source

Correct error codes.

tags/1.9.9.5
Stephane Letz 14 years ago
parent
commit
88dd4d2292
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      common/JackAPI.cpp
  2. +1
    -1
      common/JackFrameTimer.cpp

+ 1
- 1
common/JackAPI.cpp View File

@@ -1385,7 +1385,7 @@ LIB_EXPORT int jack_get_cycle_times(const jack_client_t *client,
control->ReadFrameTime(&timer);
return timer.GetCycleTimes(current_frames, current_usecs, next_usecs, period_usecs);
} else {
return 1;
return -1;
}
}



+ 1
- 1
common/JackFrameTimer.cpp View File

@@ -98,7 +98,7 @@ int JackTimer::GetCycleTimes(jack_nframes_t* current_frames, jack_time_t* curren
*period_usecs = fPeriodUsecs;
return 0;
} else {
return 1;
return -1;
}
}



Loading…
Cancel
Save