LTC-file reader: offset frame position (not timecode)
[ardour.git] / libs / ardour / engine_slave.cc
index 849b7320d3aec6e5f1b0aa30e316885e7f6e942c..7ac767c3e84565054c99b0527353c9791b31207e 100644 (file)
@@ -31,7 +31,7 @@ Engine_Slave::Engine_Slave (AudioEngine& e)
        : engine (e)
 {
        double x;
-       framepos_t p;
+       samplepos_t p;
        /* call this to initialize things */
        speed_and_position (x, p);
 }
@@ -53,7 +53,7 @@ Engine_Slave::ok() const
 }
 
 bool
-Engine_Slave::speed_and_position (double& sp, framepos_t& position)
+Engine_Slave::speed_and_position (double& sp, samplepos_t& position)
 {
        boost::shared_ptr<AudioBackend> backend = engine.current_backend();
 
@@ -62,6 +62,6 @@ Engine_Slave::speed_and_position (double& sp, framepos_t& position)
        } else {
                _starting = false;
        }
-       
+
        return true;
 }