changeset 259:7d678f889789 vamp-plugin-sdk-v2.0pre1

...
author cannam
date Fri, 14 Nov 2008 13:53:32 +0000
parents f7b34848afd2
children de74128bfeb0
files host/vamp-simple-host.cpp src/vamp-hostsdk/PluginHostAdapter.cpp
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/host/vamp-simple-host.cpp	Fri Nov 14 12:30:23 2008 +0000
+++ b/host/vamp-simple-host.cpp	Fri Nov 14 13:53:32 2008 +0000
@@ -6,7 +6,7 @@
     An API for audio analysis and feature extraction plugins.
 
     Centre for Digital Music, Queen Mary, University of London.
-    Copyright 2006 Chris Cannam.
+    Copyright 2006 Chris Cannam, copyright 2007-2008 QMUL.
   
     Permission is hereby granted, free of charge, to any person
     obtaining a copy of this software and associated documentation
@@ -95,7 +95,7 @@
     cerr << "\n"
          << name << ": A command-line host for Vamp audio analysis plugins.\n\n"
         "Centre for Digital Music, Queen Mary, University of London.\n"
-        "Copyright 2006-2007 Chris Cannam and QMUL.\n"
+        "Copyright 2006-2008 Chris Cannam and QMUL.\n"
         "Freely redistributable; published under a BSD-style license.\n\n"
         "Usage:\n\n"
         "  " << name << " [-s] pluginlibrary[." << PLUGIN_SUFFIX << "]:plugin[:output] file.wav [-o out.txt]\n"
--- a/src/vamp-hostsdk/PluginHostAdapter.cpp	Fri Nov 14 12:30:23 2008 +0000
+++ b/src/vamp-hostsdk/PluginHostAdapter.cpp	Fri Nov 14 13:53:32 2008 +0000
@@ -96,7 +96,7 @@
         }
 #ifdef _WIN32
         char *cpfiles = getenv("ProgramFiles");
-        if (!cpfiles) cpfiles = "C:\\Program Files";
+        if (!cpfiles) cpfiles = (char *)"C:\\Program Files";
         std::string pfiles(cpfiles);
         std::string::size_type f;
         while ((f = envPath.find("%ProgramFiles%")) != std::string::npos &&