annotate VamPy.vcproj @ 24:7d28bed0864e

* Rearrange Python plugin construction. Formerly, the PyPluginAdapter has retained a single plugin instance pointer for each plugin found, and its createPlugin method has simply returned a new PyPlugin object wrapping the same instance pointer. This has a couple of negative consequences: - Because construction of the actual Python instance occurred before the wrapper was constructed, it was not possible to pass arguments (i.e. the sample rate) from the wrapper constructor to the Python plugin instance constructor -- they had to be passed later, to initialise, disadvantaging those plugins that would like to use the sample rate for parameter & step/block size calculations etc - Because there was only a single Python plugin instance, it was not possible to run more than one instance at once with any isolation This rework instead stores the Python class pointer (rather than instance pointer) in the PyPluginAdapter, and each PyPlugin wrapper instance creates its own Python plugin instance. What could possibly go wrong?
author cannam
date Mon, 17 Aug 2009 15:22:06 +0000
parents ef3452f4a0c9
children 2ba482378038
rev   line source
cannam@21 1 <?xml version="1.0" encoding="UTF-8"?>
cannam@21 2 <VisualStudioProject
cannam@21 3 ProjectType="Visual C++"
cannam@21 4 Version="9.00"
cannam@21 5 Name="VamPy"
cannam@21 6 ProjectGUID="{0412DCE9-EE58-4A99-9154-14935B0BCFAA}"
cannam@21 7 Keyword="Win32Proj"
cannam@21 8 TargetFrameworkVersion="0"
cannam@21 9 >
cannam@21 10 <Platforms>
cannam@21 11 <Platform
cannam@21 12 Name="Win32"
cannam@21 13 />
cannam@21 14 </Platforms>
cannam@21 15 <ToolFiles>
cannam@21 16 </ToolFiles>
cannam@21 17 <Configurations>
cannam@21 18 <Configuration
cannam@21 19 Name="Debug|Win32"
cannam@21 20 OutputDirectory="Debug"
cannam@21 21 IntermediateDirectory="Debug"
cannam@21 22 ConfigurationType="2"
cannam@21 23 >
cannam@21 24 <Tool
cannam@21 25 Name="VCPreBuildEventTool"
cannam@21 26 />
cannam@21 27 <Tool
cannam@21 28 Name="VCCustomBuildTool"
cannam@21 29 />
cannam@21 30 <Tool
cannam@21 31 Name="VCXMLDataGeneratorTool"
cannam@21 32 />
cannam@21 33 <Tool
cannam@21 34 Name="VCWebServiceProxyGeneratorTool"
cannam@21 35 />
cannam@21 36 <Tool
cannam@21 37 Name="VCMIDLTool"
cannam@21 38 />
cannam@21 39 <Tool
cannam@21 40 Name="VCCLCompilerTool"
cannam@21 41 Optimization="0"
cannam@21 42 AdditionalIncludeDirectories="&quot;..\vamp-plugin-sdk&quot;;C:\Python26\include"
cannam@21 43 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;VAMPY_EXPORTS;"
cannam@21 44 MinimalRebuild="true"
cannam@21 45 BasicRuntimeChecks="3"
cannam@21 46 RuntimeLibrary="3"
cannam@21 47 UsePrecompiledHeader="0"
cannam@21 48 WarningLevel="3"
cannam@21 49 Detect64BitPortabilityProblems="true"
cannam@21 50 DebugInformationFormat="4"
cannam@21 51 />
cannam@21 52 <Tool
cannam@21 53 Name="VCManagedResourceCompilerTool"
cannam@21 54 />
cannam@21 55 <Tool
cannam@21 56 Name="VCResourceCompilerTool"
cannam@21 57 />
cannam@21 58 <Tool
cannam@21 59 Name="VCPreLinkEventTool"
cannam@21 60 />
cannam@21 61 <Tool
cannam@21 62 Name="VCLinkerTool"
cannam@21 63 AdditionalOptions="/EXPORT:vampGetPluginDescriptor"
cannam@21 64 AdditionalDependencies="VampPluginSDK.lib python26.lib"
cannam@21 65 LinkIncremental="2"
cannam@21 66 AdditionalLibraryDirectories="&quot;..\vamp-plugin-sdk\build\Debug&quot;;C:\Python26\libs"
cannam@21 67 GenerateDebugInformation="true"
cannam@21 68 SubSystem="2"
cannam@21 69 TargetMachine="1"
cannam@21 70 />
cannam@21 71 <Tool
cannam@21 72 Name="VCALinkTool"
cannam@21 73 />
cannam@21 74 <Tool
cannam@21 75 Name="VCManifestTool"
cannam@21 76 />
cannam@21 77 <Tool
cannam@21 78 Name="VCXDCMakeTool"
cannam@21 79 />
cannam@21 80 <Tool
cannam@21 81 Name="VCBscMakeTool"
cannam@21 82 />
cannam@21 83 <Tool
cannam@21 84 Name="VCFxCopTool"
cannam@21 85 />
cannam@21 86 <Tool
cannam@21 87 Name="VCAppVerifierTool"
cannam@21 88 />
cannam@21 89 <Tool
cannam@21 90 Name="VCPostBuildEventTool"
cannam@21 91 />
cannam@21 92 </Configuration>
cannam@21 93 <Configuration
cannam@21 94 Name="Release|Win32"
cannam@21 95 OutputDirectory="Release"
cannam@21 96 IntermediateDirectory="Release"
cannam@21 97 ConfigurationType="2"
cannam@21 98 >
cannam@21 99 <Tool
cannam@21 100 Name="VCPreBuildEventTool"
cannam@21 101 />
cannam@21 102 <Tool
cannam@21 103 Name="VCCustomBuildTool"
cannam@21 104 />
cannam@21 105 <Tool
cannam@21 106 Name="VCXMLDataGeneratorTool"
cannam@21 107 />
cannam@21 108 <Tool
cannam@21 109 Name="VCWebServiceProxyGeneratorTool"
cannam@21 110 />
cannam@21 111 <Tool
cannam@21 112 Name="VCMIDLTool"
cannam@21 113 />
cannam@21 114 <Tool
cannam@21 115 Name="VCCLCompilerTool"
cannam@21 116 AdditionalIncludeDirectories="&quot;..\vamp-plugin-sdk&quot;;C:\Python26\include"
cannam@21 117 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;VAMPY_EXPORTS;"
cannam@21 118 RuntimeLibrary="2"
cannam@21 119 UsePrecompiledHeader="0"
cannam@21 120 WarningLevel="3"
cannam@21 121 Detect64BitPortabilityProblems="true"
cannam@21 122 DebugInformationFormat="3"
cannam@21 123 />
cannam@21 124 <Tool
cannam@21 125 Name="VCManagedResourceCompilerTool"
cannam@21 126 />
cannam@21 127 <Tool
cannam@21 128 Name="VCResourceCompilerTool"
cannam@21 129 />
cannam@21 130 <Tool
cannam@21 131 Name="VCPreLinkEventTool"
cannam@21 132 />
cannam@21 133 <Tool
cannam@21 134 Name="VCLinkerTool"
cannam@21 135 AdditionalOptions="/EXPORT:vampGetPluginDescriptor"
cannam@21 136 AdditionalDependencies="VampPluginSDK.lib python26.lib"
cannam@21 137 LinkIncremental="2"
cannam@21 138 AdditionalLibraryDirectories="&quot;..\vamp-plugin-sdk\build\Release&quot;;C:\Python26\libs"
cannam@21 139 GenerateDebugInformation="true"
cannam@21 140 SubSystem="2"
cannam@21 141 OptimizeReferences="2"
cannam@21 142 EnableCOMDATFolding="2"
cannam@21 143 TargetMachine="1"
cannam@21 144 />
cannam@21 145 <Tool
cannam@21 146 Name="VCALinkTool"
cannam@21 147 />
cannam@21 148 <Tool
cannam@21 149 Name="VCManifestTool"
cannam@21 150 />
cannam@21 151 <Tool
cannam@21 152 Name="VCXDCMakeTool"
cannam@21 153 />
cannam@21 154 <Tool
cannam@21 155 Name="VCBscMakeTool"
cannam@21 156 />
cannam@21 157 <Tool
cannam@21 158 Name="VCFxCopTool"
cannam@21 159 />
cannam@21 160 <Tool
cannam@21 161 Name="VCAppVerifierTool"
cannam@21 162 />
cannam@21 163 <Tool
cannam@21 164 Name="VCPostBuildEventTool"
cannam@21 165 />
cannam@21 166 </Configuration>
cannam@21 167 </Configurations>
cannam@21 168 <References>
cannam@21 169 </References>
cannam@21 170 <Files>
cannam@21 171 <Filter
cannam@21 172 Name="Header Files"
cannam@21 173 Filter="h;hpp;hxx;hm;inl;inc;xsd"
cannam@21 174 UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
cannam@21 175 >
cannam@21 176 <File
cannam@21 177 RelativePath=".\Mutex.h"
cannam@21 178 >
cannam@21 179 </File>
cannam@21 180 <File
cannam@21 181 RelativePath=".\PyPlugin.h"
cannam@21 182 >
cannam@21 183 </File>
cannam@21 184 <File
cannam@21 185 RelativePath=".\PyPlugScanner.h"
cannam@21 186 >
cannam@21 187 </File>
cannam@21 188 </Filter>
cannam@21 189 <Filter
cannam@21 190 Name="Resource Files"
cannam@21 191 Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
cannam@21 192 UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
cannam@21 193 >
cannam@21 194 </Filter>
cannam@21 195 <Filter
cannam@21 196 Name="Source Files"
cannam@21 197 Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
cannam@21 198 UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
cannam@21 199 >
cannam@21 200 <File
cannam@21 201 RelativePath=".\Mutex.cpp"
cannam@21 202 >
cannam@21 203 </File>
cannam@21 204 <File
cannam@21 205 RelativePath=".\PyPlugin.cpp"
cannam@21 206 >
cannam@21 207 </File>
cannam@21 208 <File
cannam@21 209 RelativePath=".\PyPlugScanner.cpp"
cannam@21 210 >
cannam@21 211 </File>
cannam@21 212 <File
cannam@21 213 RelativePath=".\pyvamp-main.cpp"
cannam@21 214 >
cannam@21 215 </File>
cannam@21 216 </Filter>
cannam@21 217 </Files>
cannam@21 218 <Globals>
cannam@21 219 </Globals>
cannam@21 220 </VisualStudioProject>