# HG changeset patch # User Chris Cannam # Date 1215449393 0 # Node ID 52ef51ba9a74113841f56908574cd5802e3d338a # Parent d55e4c0f7d9e67cb7bd9201040c33c07f6e1cc3c * Reduce time stretcher to one channel when overload occurs diff -r d55e4c0f7d9e -r 52ef51ba9a74 main/MainWindow.cpp --- 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("Overloaded
Audio playback speed processing has been reduced to a single channel, due to a processing overload.")); + shownOnce = true; +} + +void MainWindow::layerRemoved(Layer *layer) { setupExistingLayersMenus(); diff -r d55e4c0f7d9e -r 52ef51ba9a74 main/MainWindow.h --- a/main/MainWindow.h Wed Jun 18 15:53:23 2008 +0000 +++ b/main/MainWindow.h Mon Jul 07 16:49:53 2008 +0000 @@ -95,6 +95,7 @@ virtual void sampleRateMismatch(size_t, size_t, bool); virtual void audioOverloadPluginDisabled(); + virtual void audioTimeStretchMultiChannelDisabled(); virtual void toolNavigateSelected(); virtual void toolSelectSelected();