diff audioio/AudioGenerator.cpp @ 20:b5a14d115240

* Make RealTimePluginInstances also provide the PluginInstance interface
author Chris Cannam
date Mon, 20 Mar 2006 13:48:58 +0000
parents c606d3ffa397
children ebe07d3560e6
line wrap: on
line diff
--- a/audioio/AudioGenerator.cpp	Mon Mar 20 11:40:39 2006 +0000
+++ b/audioio/AudioGenerator.cpp	Mon Mar 20 13:48:58 2006 +0000
@@ -128,14 +128,14 @@
 	for (unsigned int i = 0; i < instance->getParameterCount(); ++i) {
 	    instance->setParameterValue(i, instance->getParameterDefault(i));
 	}
-	QString defaultProgram = instance->getProgram(0, 0);
+        std::string defaultProgram = instance->getProgram(0, 0);
 	if (defaultProgram != "") {
-	    std::cerr << "first selecting default program " << defaultProgram.toLocal8Bit().data() << std::endl;
+	    std::cerr << "first selecting default program " << defaultProgram << std::endl;
 	    instance->selectProgram(defaultProgram);
 	}
 	if (program != "") {
-	    std::cerr << "now selecting desired program " << program.toLocal8Bit().data() << std::endl;
-	    instance->selectProgram(program);
+	    std::cerr << "now selecting desired program " << program.toStdString() << std::endl;
+	    instance->selectProgram(program.toStdString());
 	}
 	instance->setIdealChannelCount(m_targetChannelCount); // reset!
     } else {