diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-17 18:20:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-17 18:20:37 +0000 |
commit | ede4ecbb00ecc866c502454c81e711baea780ccd (patch) | |
tree | d4a05e59cc96651ddf0eeab929f58fb7a7019fb0 /libs/ardour/ardour/pi_controller.h | |
parent | 10bdce85a0e7381d1b5db38e3640600c6fd3ec79 (diff) |
megaopus patch #2 for today: remove nframes64_t and sframes_t from source
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/pi_controller.h')
-rw-r--r-- | libs/ardour/ardour/pi_controller.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/ardour/pi_controller.h b/libs/ardour/ardour/pi_controller.h index 250c943de9..a118fd739f 100644 --- a/libs/ardour/ardour/pi_controller.h +++ b/libs/ardour/ardour/pi_controller.h @@ -60,24 +60,24 @@ class PIChaser { PIChaser(); ~PIChaser(); - double get_ratio( nframes64_t chasetime_measured, nframes64_t chasetime, nframes64_t slavetime_measured, nframes64_t slavetime, bool in_control, int period_size ); + double get_ratio( framepos_t chasetime_measured, framepos_t chasetime, framepos_t slavetime_measured, framepos_t slavetime, bool in_control, int period_size ); void reset(); - nframes64_t want_locate() { return want_locate_val; } + framepos_t want_locate() { return want_locate_val; } private: PIController *pic; - nframes64_t realtime_stamps[ESTIMATOR_SIZE]; - nframes64_t chasetime_stamps[ESTIMATOR_SIZE]; + framepos_t realtime_stamps[ESTIMATOR_SIZE]; + framepos_t chasetime_stamps[ESTIMATOR_SIZE]; int array_index; - nframes64_t want_locate_val; + framepos_t want_locate_val; - void feed_estimator( nframes64_t realtime, nframes64_t chasetime ); + void feed_estimator( framepos_t realtime, framepos_t chasetime ); double get_estimate(); double speed; double speed_threshold; - nframes64_t pos_threshold; + framepos_t pos_threshold; }; |