From 7ec5b47cb215af8875cfb94a794ba1b9609975ff Mon Sep 17 00:00:00 2001 From: richardash1981 Date: Sat, 16 Aug 2014 20:19:53 +0000 Subject: [PATCH] Report the build-time enabling or disabling of more libraries which have been added since this was written. Although this does add some more translatable strings, it is not an issue if they do not get translated, as very few users will ever see this part of the GUI. There is no screenshot of this dialogue in the manual so there is no effect there of this change. --- src/AboutDialog.cpp | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/AboutDialog.cpp b/src/AboutDialog.cpp index ee57c69fb..8b52b8001 100644 --- a/src/AboutDialog.cpp +++ b/src/AboutDialog.cpp @@ -328,6 +328,7 @@ visit our forum."); } /** \brief: Fills out the "Information" tab of the preferences dialogue + * * Provides as much information as possible about build-time options and * the libraries used, to try and make Linux support easier. Basically anything * about the build we might wish to know should be visible here */ @@ -410,6 +411,18 @@ void AboutDialog::PopulateInformationPage( ShuttleGui & S ) disabled); # endif + #ifdef USE_FFMPEG + AddBuildinfoRow(&informationStr, wxT("ffmpeg"), _("FFmpeg Import/Export"), enabled); + #else + AddBuildinfoRow(&informationStr, wxT("ffmpeg"), _("FFmpeg Import/Export"), disabled); + #endif + + #ifdef USE_GSTREAMER + AddBuildinfoRow(&informationStr, wxT("gstreamer"), _("Import via GStreamer"), enabled); + #else + AddBuildinfoRow(&informationStr, wxT("gstreamer"), _("Import via GStreamer"), disabled); + #endif + informationStr += wxT("\n"); //end table of file format libraries informationStr += wxT("

"); /* i18n-hint: Libraries that are essential to audacity */ @@ -484,6 +497,22 @@ void AboutDialog::PopulateInformationPage( ShuttleGui & S ) disabled); # endif + # if USE_VST + AddBuildinfoRow(&informationStr, wxT("VST"), _("Plug-in support"), + enabled); + # else + AddBuildinfoRow(&informationStr, wxT("VST"), _("Plug-in support"), + disabled); + # endif + + # if USE_LV2 + AddBuildinfoRow(&informationStr, wxT("LV2"), _("Plug-in support"), + enabled); + # else + AddBuildinfoRow(&informationStr, wxT("LV2"), _("Plug-in support"), + disabled); + # endif + # if USE_PORTMIXER AddBuildinfoRow(&informationStr, wxT("PortMixer"), _("Sound card mixer support"), enabled); @@ -500,6 +529,14 @@ void AboutDialog::PopulateInformationPage( ShuttleGui & S ) disabled); # endif + # if USE_SBSMS + AddBuildinfoRow(&informationStr, wxT("SBSMS"), _("Extreme Pitch and Tempo Change support"), + enabled); + # else + AddBuildinfoRow(&informationStr, wxT("SBSMS"), _("Extreme and Tempo Change support"), + disabled); + # endif + informationStr += wxT("\n"); // end of table of features informationStr += wxT("

");