diff main/MainWindow.cpp @ 266:52ef51ba9a74

* Reduce time stretcher to one channel when overload occurs
author Chris Cannam
date Mon, 07 Jul 2008 16:49:53 +0000
parents d55e4c0f7d9e
children c452d8a7b770
line wrap: on
line diff
--- a/main/MainWindow.cpp	Wed Jun 18 15:53:23 2008 +0000
+++ b/main/MainWindow.cpp	Mon Jul 07 16:49:53 2008 +0000
@@ -3265,6 +3265,17 @@
 }
 
 void
+MainWindow::audioTimeStretchMultiChannelDisabled()
+{
+    static bool shownOnce = false;
+    if (shownOnce) return;
+    QMessageBox::information
+        (this, tr("Audio processing overload"),
+         tr("<b>Overloaded</b><p>Audio playback speed processing has been reduced to a single channel, due to a processing overload."));
+    shownOnce = true;
+}
+
+void
 MainWindow::layerRemoved(Layer *layer)
 {
     setupExistingLayersMenus();