Update of /cvsroot/audacity/audacity-src/src/effects/lv2
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4234/src/effects/lv2

Modified Files:
        LV2Effect.cpp LV2PortGroup.cpp LoadLV2.cpp 
Log Message:
Allow for building without SLV2

Index: LoadLV2.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/lv2/LoadLV2.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- LoadLV2.cpp 15 Aug 2008 06:21:34 -0000      1.5
+++ LoadLV2.cpp 9 Jan 2009 17:07:29 -0000       1.6
@@ -31,16 +31,17 @@
 #include "../../Experimental.h"
 #include "../../Internat.h"
 #include "../EffectManager.h"
+
+#if defined(USE_SLV2)
+
 #include "LV2Effect.h"
 #include "lv2_uri_map.h"
 #include "lv2_event.h"
 
 #include "LoadLV2.h"
 
-
 SLV2World gWorld = 0;
 
-
 // This is the URI Map Feature object. It is required for loading synth
 // plugins.
 static uint32_t uri_to_id(LV2_URI_Map_Callback_Data cbd,
@@ -155,6 +156,8 @@
 {
 }
 
+#endif
+
 // Indentation settings for Vim and Emacs and unique identifier for Arch, a
 // version control system. Please do not modify past this point.
 //

Index: LV2PortGroup.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/lv2/LV2PortGroup.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- LV2PortGroup.cpp    15 Aug 2008 03:32:06 -0000      1.1
+++ LV2PortGroup.cpp    9 Jan 2009 17:07:29 -0000       1.2
@@ -11,6 +11,7 @@
 
 #include "LV2PortGroup.h"
 
+#if defined(USE_SLV2)
 
 LV2PortGroup::LV2PortGroup(const wxString& name)
   : mName(name) {
@@ -37,6 +38,7 @@
   return mName;
 }
 
+#endif
 
 // Indentation settings for Vim and Emacs and unique identifier for Arch, a
 // version control system. Please do not modify past this point.

Index: LV2Effect.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/lv2/LV2Effect.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- LV2Effect.cpp       15 Aug 2008 03:32:06 -0000      1.6
+++ LV2Effect.cpp       9 Jan 2009 17:07:29 -0000       1.7
@@ -27,6 +27,8 @@
 #include <wx/intl.h>
 #include <wx/scrolwin.h>
 
+#if defined(USE_SLV2)
+
 #include "../Effect.h"
 #include "LoadLV2.h"
 #include "LV2Effect.h"
@@ -34,7 +36,6 @@
 #include "../Internat.h"
 #include "lv2_event_helpers.h"
 
-
 LV2Effect::LV2Effect(SLV2Plugin data,
                      const std::set<wxString>& categories)
    : mValid(true),
@@ -1249,6 +1250,7 @@
    return 64;
 }
 
+#endif
 
 // Indentation settings for Vim and Emacs and unique identifier for Arch, a
 // version control system. Please do not modify past this point.


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to