fix clang compilation (include header ordering)
[ardour.git] / libs / ardour / engine_slave.cc
index 8b7c3ba510512bf7eb8a031672d28a285ec971a6..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();