Cleanup of region drag code to be a bit more efficient and shorter. Fixes crashes...
[ardour.git] / libs / ardour / ardour / audio_track.h
index c2428339c7bc61eda69bb3dee61c9e210b69d314..ecd88b94e5abf79aa3b667a6a7dbe358fce9aa4d 100644 (file)
@@ -45,6 +45,10 @@ class AudioTrack : public Track
        void use_new_diskstream ();
         void set_diskstream (boost::shared_ptr<Diskstream>);
 
+       DataType data_type () const {
+               return DataType::AUDIO;
+       }
+
        int export_stuff (BufferSet& bufs, sframes_t start_frame, nframes_t nframes, bool enable_processing = true);
 
        void freeze_me (InterThreadInfo&);