comparison main/MainWindow.cpp @ 267:c452d8a7b770 sv1-v1.3 sv1-v1.3rc1

* Updates for 1.3
author Chris Cannam
date Thu, 10 Jul 2008 12:50:56 +0000
parents 52ef51ba9a74
children ffc0acc10ffc
comparison
equal deleted inserted replaced
266:52ef51ba9a74 267:c452d8a7b770
3117 PlaySpeedRangeMapper mapper(0, 200); 3117 PlaySpeedRangeMapper mapper(0, 200);
3118 3118
3119 float percent = m_playSpeed->mappedValue(); 3119 float percent = m_playSpeed->mappedValue();
3120 float factor = mapper.getFactorForValue(percent); 3120 float factor = mapper.getFactorForValue(percent);
3121 3121
3122 std::cerr << "speed = " << position << " percent = " << percent << " factor = " << factor << std::endl; 3122 // std::cerr << "speed = " << position << " percent = " << percent << " factor = " << factor << std::endl;
3123 3123
3124 bool something = (position != 100); 3124 bool something = (position != 100);
3125 3125
3126 int pc = lrintf(percent); 3126 int pc = lrintf(percent);
3127 3127
3501 } 3501 }
3502 3502
3503 void 3503 void
3504 MainWindow::help() 3504 MainWindow::help()
3505 { 3505 {
3506 openHelpUrl(tr("http://www.sonicvisualiser.org/doc/reference/1.2/en/")); 3506 openHelpUrl(tr("http://www.sonicvisualiser.org/doc/reference/1.3/en/"));
3507 } 3507 }
3508 3508
3509 void 3509 void
3510 MainWindow::about() 3510 MainWindow::about()
3511 { 3511 {
3594 aboutText += tr("<br>With FFTW3 (v%1) &copy; Matteo Frigo and MIT").arg(FFTW3_VERSION); 3594 aboutText += tr("<br>With FFTW3 (v%1) &copy; Matteo Frigo and MIT").arg(FFTW3_VERSION);
3595 #else 3595 #else
3596 aboutText += tr("<br>With FFTW3 &copy; Matteo Frigo and MIT"); 3596 aboutText += tr("<br>With FFTW3 &copy; Matteo Frigo and MIT");
3597 #endif 3597 #endif
3598 #endif 3598 #endif
3599 #ifdef HAVE_RUBBERBAND
3600 #ifdef RUBBERBAND_VERSION
3601 aboutText += tr("<br>With Rubber Band (v%1) &copy; Chris Cannam").arg(RUBBERBAND_VERSION);
3602 #else
3603 aboutText += tr("<br>With Rubber Band &copy; Chris Cannam");
3604 #endif
3605 #endif
3599 #ifdef HAVE_VAMP 3606 #ifdef HAVE_VAMP
3600 aboutText += tr("<br>With Vamp plugin support (API v%1, host SDK v%2) &copy; Chris Cannam").arg(VAMP_API_VERSION).arg(VAMP_SDK_VERSION); 3607 aboutText += tr("<br>With Vamp plugin support (API v%1, host SDK v%2) &copy; Chris Cannam").arg(VAMP_API_VERSION).arg(VAMP_SDK_VERSION);
3601 #endif 3608 #endif
3602 aboutText += tr("<br>With LADSPA plugin support (API v%1) &copy; Richard Furse, Paul Davis, Stefan Westerfeld").arg(LADSPA_VERSION); 3609 aboutText += tr("<br>With LADSPA plugin support (API v%1) &copy; Richard Furse, Paul Davis, Stefan Westerfeld").arg(LADSPA_VERSION);
3603 aboutText += tr("<br>With DSSI plugin support (API v%1) &copy; Chris Cannam, Steve Harris, Sean Bolton").arg(DSSI_VERSION); 3610 aboutText += tr("<br>With DSSI plugin support (API v%1) &copy; Chris Cannam, Steve Harris, Sean Bolton").arg(DSSI_VERSION);