Add ARDOUR::ladspa_search_path function to get LADSPA module directories
[ardour.git] / libs / ardour / ardour / audiofilesource.h
index 3bd4bbd34c0b92abb6633e8d34c189f4a033b9af..c5fd7b3af2ab3a25ad6087a81592ec3a147d05fc 100644 (file)
 namespace ARDOUR {
 
 struct SoundFileInfo {
-    float       samplerate;
-    uint16_t    channels;
-    int64_t     length;
-    std::string format_name;
-    int64_t     timecode;
+       float       samplerate;
+       uint16_t    channels;
+       int64_t     length;
+       std::string format_name;
+       int64_t     timecode;
 };
 
 class AudioFileSource : public AudioSource, public FileSource {
@@ -43,9 +43,9 @@ public:
                return (set_source_name(newname, destructive()) == 0);
        }
 
-        std::string peak_path (std::string audio_path);
-        std::string find_broken_peakfile (std::string missing_peak_path,
-                       std::string audio_path);
+       std::string peak_path (std::string audio_path);
+       std::string find_broken_peakfile (std::string missing_peak_path,
+                                         std::string audio_path);
 
        static void set_peak_dir (std::string dir) { peak_dir = dir; }
 
@@ -112,7 +112,8 @@ protected:
        static char bwf_organization_code[4];
        static char bwf_serial_number[13];
 
-       static uint64_t header_position_offset;
+       /** Kept up to date with the position of the session location start */
+       static framecnt_t header_position_offset;
 
   private:
        std::string old_peak_path (std::string audio_path);