Fix oddities when replacing VST-presets.
[ardour.git] / tools / omf / omftool.h
index b6e291ca5870407d7ea3b305b8b2d9f8911299bc..9f16aec94f5e4e88074e8dabfce603b43b0a5110 100644 (file)
@@ -52,16 +52,16 @@ private:
        XMLNode* diskstreams;
        XMLNode* locations;
        XMLNode* options;
-       
+
        XMLNode* new_region_node ();
        XMLNode* new_source_node ();
        XMLNode* new_route_node ();
        XMLNode* new_playlist_node ();
        XMLNode* new_diskstream_node ();
-       
+
        typedef std::map<std::string,SourceInfo*> KnownSources;
        KnownSources known_sources;
-       
+
        SourceInfo* get_known_source (const char*);
        char* read_name (size_t offset, size_t length);
        bool get_offset_and_length (const char* offstr, const char* lenstr, uint32_t& offset, uint32_t& len);
@@ -80,22 +80,22 @@ private:
                else
                        return x;
        }
-       
+
        uint32_t e32(uint32_t x)
        {
                if (bigEndian)
-                       return (x>>24) | 
+                       return (x>>24) |
                                ((x<<8) & 0x00FF0000) |
                                ((x>>8) & 0x0000FF00) |
                                (x<<24);
                else
                        return x;
        }
-       
+
        uint64_t e64(uint64_t x)
        {
                if (bigEndian)
-                       return (x>>56) | 
+                       return (x>>56) |
                                ((x<<40) & 0x00FF000000000000) |
                                ((x<<24) & 0x0000FF0000000000) |
                                ((x<<8)  & 0x000000FF00000000) |
@@ -106,7 +106,7 @@ private:
                else
                        return x;
        }
-       
+
 };
 
 #endif /* __ardour_omftool__ */