Mercurial > hg > svcore
comparison base/RealTime.h @ 378:a38cd7823cb2
* PortAudio driver: do not specify frames per buffer, let PA decide
* Remove old non-RubberBand time stretcher -- it doesn't work with varying
buffer sizes such as the PA driver may now be using
* Rewrite getCurrentPlayingFrame for greater correctness when using long
buffer sizes (interpolating according to audio stream timestamp)
* Several changes to make the timestretch management RT safe(r)
author | Chris Cannam |
---|---|
date | Fri, 08 Feb 2008 17:51:15 +0000 |
parents | d7c41483af8f |
children | beb2948baa77 |
comparison
equal
deleted
inserted
replaced
377:166c22eff678 | 378:a38cd7823cb2 |
---|---|
93 } | 93 } |
94 | 94 |
95 RealTime operator*(int m) const; | 95 RealTime operator*(int m) const; |
96 RealTime operator/(int d) const; | 96 RealTime operator/(int d) const; |
97 | 97 |
98 RealTime operator*(double m) const; | |
99 RealTime operator/(double d) const; | |
100 | |
98 /** | 101 /** |
99 * Return the ratio of two times. | 102 * Return the ratio of two times. |
100 */ | 103 */ |
101 double operator/(const RealTime &r) const; | 104 double operator/(const RealTime &r) const; |
102 | 105 |