Tempo ramps - snap uses audio-locked meter offsets.
[ardour.git] / libs / ardour / ardour / sndfilesource.h
index 5a4a11515c16d499f1bde9daddb41d4c9316d6cd..4579a32b6df9c6bfe19ec2591c708a1807702687 100644 (file)
@@ -45,7 +45,7 @@ class LIBARDOUR_API SndFileSource : public AudioFileSource {
        SndFileSource (Session&, const std::string& path, int chn);
 
        /** Constructor to be called for existing in-session files during
-        * session loading 
+        * session loading
         */
        SndFileSource (Session&, const XMLNode&);
 
@@ -66,6 +66,7 @@ class LIBARDOUR_API SndFileSource : public AudioFileSource {
        bool set_destructive (bool yn);
 
        bool one_of_several_channels () const;
+    uint32_t channel_count () const { return _info.channels; }
 
        bool clamped_at_unity () const;