comparison audioio/AudioCallbackPlayTarget.h @ 91:9fc4b256c283

* 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 716e9d2f91c7
children
comparison
equal deleted inserted replaced
90:db267a315058 91:9fc4b256c283
30 30
31 virtual bool isOK() const = 0; 31 virtual bool isOK() const = 0;
32 32
33 virtual void shutdown() = 0; 33 virtual void shutdown() = 0;
34 34
35 virtual double getCurrentTime() const = 0;
36
35 float getOutputGain() const { 37 float getOutputGain() const {
36 return m_outputGain; 38 return m_outputGain;
37 } 39 }
38 40
39 public slots: 41 public slots: