Mercurial > hg > sonic-visualiser
changeset 93:14cc0a78f340
...
author | Chris Cannam |
---|---|
date | Thu, 25 Jan 2007 16:26:49 +0000 (2007-01-25) |
parents | 52409ab73526 |
children | 5828afd1d229 |
files | main/MainWindow.cpp |
diffstat | 1 files changed, 33 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/main/MainWindow.cpp Thu Jan 25 12:02:44 2007 +0000 +++ b/main/MainWindow.cpp Thu Jan 25 16:26:49 2007 +0000 @@ -2734,10 +2734,14 @@ } // This name doesn't have to be unguessable - +#ifndef _WIN32 QString fname = QString("tmp-%1-%2.sv") .arg(QDateTime::currentDateTime().toString("yyyyMMddhhmmsszzz")) .arg(QProcess().pid()); +#else + QString fname = QString("tmp-%1.sv") + .arg(QDateTime::currentDateTime().toString("yyyyMMddhhmmsszzz")); +#endif QString fpath = QDir(svDir).filePath(fname); if (saveSessionFile(fpath)) { m_recentFiles.addFile(fpath); @@ -4322,25 +4326,49 @@ aboutText += tr("<br>With Qt (v%1) © Trolltech AS").arg(QT_VERSION_STR); #endif #ifdef HAVE_JACK +#ifdef JACK_VERSION aboutText += tr("<br>With JACK audio output (v%1) © Paul Davis and Jack O'Quin").arg(JACK_VERSION); +#else + aboutText += tr("<br>With JACK audio output © Paul Davis and Jack O'Quin"); +#endif #endif #ifdef HAVE_PORTAUDIO aboutText += tr("<br>With PortAudio audio output © Ross Bencina and Phil Burk"); #endif #ifdef HAVE_OGGZ +#ifdef OGGZ_VERSION aboutText += tr("<br>With Ogg file decoder (oggz v%1, fishsound v%2) © CSIRO Australia").arg(OGGZ_VERSION).arg(FISHSOUND_VERSION); +#else + aboutText += tr("<br>With Ogg file decoder © CSIRO Australia"); +#endif #endif #ifdef HAVE_MAD +#ifdef MAD_VERSION aboutText += tr("<br>With MAD mp3 decoder (v%1) © Underbit Technologies Inc").arg(MAD_VERSION); +#else + aboutText += tr("<br>With MAD mp3 decoder © Underbit Technologies Inc"); +#endif #endif #ifdef HAVE_SAMPLERATE +#ifdef SAMPLERATE_VERSION aboutText += tr("<br>With libsamplerate (v%1) © Erik de Castro Lopo").arg(SAMPLERATE_VERSION); +#else + aboutText += tr("<br>With libsamplerate © Erik de Castro Lopo"); +#endif #endif #ifdef HAVE_SNDFILE +#ifdef SNDFILE_VERSION aboutText += tr("<br>With libsndfile (v%1) © Erik de Castro Lopo").arg(SNDFILE_VERSION); +#else + aboutText += tr("<br>With libsndfile © Erik de Castro Lopo"); +#endif #endif #ifdef HAVE_FFTW3 +#ifdef FFTW3_VERSION aboutText += tr("<br>With FFTW3 (v%1) © Matteo Frigo and MIT").arg(FFTW3_VERSION); +#else + aboutText += tr("<br>With FFTW3 © Matteo Frigo and MIT"); +#endif #endif #ifdef HAVE_VAMP aboutText += tr("<br>With Vamp plugin support (API v%1, SDK v%2) © Chris Cannam").arg(VAMP_API_VERSION).arg(VAMP_SDK_VERSION); @@ -4348,7 +4376,11 @@ aboutText += tr("<br>With LADSPA plugin support (API v%1) © Richard Furse, Paul Davis, Stefan Westerfeld").arg(LADSPA_VERSION); aboutText += tr("<br>With DSSI plugin support (API v%1) © Chris Cannam, Steve Harris, Sean Bolton").arg(DSSI_VERSION); #ifdef HAVE_LIBLO +#ifdef LIBLO_VERSION aboutText += tr("<br>With liblo Lite OSC library (v%1) © Steve Harris").arg(LIBLO_VERSION); +#else + aboutText += tr("<br>With liblo Lite OSC library © Steve Harris").arg(LIBLO_VERSION); +#endif if (m_oscQueue && m_oscQueue->isOK()) { aboutText += tr("<p>The OSC URL for this instance is: \"%1\"").arg(m_oscQueue->getOSCURL()); }