Audacity  2.2.0
Audacity.h File Reference

Go to the source code of this file.

Macros

#define IS_ALPHA   1
 
#define AUDACITY_VERSION   2
 
#define AUDACITY_RELEASE   2
 
#define AUDACITY_REVISION   0
 
#define AUDACITY_MODLEVEL   0
 
#define AUDACITY_SUFFIX   wxT("-alpha-") __TDATE__
 
#define AUDACITY_MAKESTR(x)   #x
 
#define AUDACITY_QUOTE(x)   AUDACITY_MAKESTR( x )
 
#define AUDACITY_VERSION_STRING
 
#define AUDACITY_FILE_VERSION
 
#define AUDACITY_PREFS_VERSION_STRING   "1.1.1r1"
 
#define AUDACITY_FILE_FORMAT_VERSION   "1.3.0"
 
#define PLATFORM_MAX_PATH   260
 
#define PROFILE_DLL_API   AUDACITY_DLL_API
 
#define QUANTIZED_TIME(time, rate)   (floor(((double)(time) * (rate)) + 0.5) / (rate))
 
#define DB_TO_LINEAR(x)   (pow(10.0, (x) / 20.0))
 
#define LINEAR_TO_DB(x)   (20.0 * log10(x))
 
#define MAX_AUDIO   (1. - 1./(1<<15))
 
#define JUST_BELOW_MAX_AUDIO   (1.f - 1.f/(1<<14))
 
#define XO(s)   wxT(s)
 
#define _TS(s)   GetCustomSubstitution( s )
 
#define WXINTL_NO_GETTEXT_MACRO
 
#define wxPLURAL(sing, plur, n)   wxGetTranslation((sing), (plur), n)
 
#define _(s)   GetCustomTranslation((s))
 
#define PROHIBITED   = delete
 
#define safenew   new
 
#define __AUDACITY_H__
 
#define IS_ALPHA   1
 
#define AUDACITY_VERSION   2
 
#define AUDACITY_RELEASE   2
 
#define AUDACITY_REVISION   0
 
#define AUDACITY_MODLEVEL   0
 
#define AUDACITY_SUFFIX   wxT("-alpha-") __TDATE__
 
#define AUDACITY_MAKESTR(x)   #x
 
#define AUDACITY_QUOTE(x)   AUDACITY_MAKESTR( x )
 
#define AUDACITY_VERSION_STRING
 
#define AUDACITY_FILE_VERSION
 
#define AUDACITY_PREFS_VERSION_STRING   "1.1.1r1"
 
#define AUDACITY_FILE_FORMAT_VERSION   "1.3.0"
 
#define PLATFORM_MAX_PATH   260
 
#define PROFILE_DLL_API   AUDACITY_DLL_API
 
#define QUANTIZED_TIME(time, rate)   (floor(((double)(time) * (rate)) + 0.5) / (rate))
 
#define DB_TO_LINEAR(x)   (pow(10.0, (x) / 20.0))
 
#define LINEAR_TO_DB(x)   (20.0 * log10(x))
 
#define MAX_AUDIO   (1. - 1./(1<<15))
 
#define JUST_BELOW_MAX_AUDIO   (1.f - 1.f/(1<<14))
 
#define XO(s)   wxT(s)
 
#define _TS(s)   GetCustomSubstitution( s )
 
#define WXINTL_NO_GETTEXT_MACRO
 
#define wxPLURAL(sing, plur, n)   wxGetTranslation((sing), (plur), n)
 
#define _(s)   GetCustomTranslation((s))
 
#define PROHIBITED   = delete
 
#define safenew   new
 

Functions

void QuitAudacity (bool bForce)
 
void QuitAudacity ()
 
const wxString & GetCustomTranslation (const wxString &str1)
 
const wxString & GetCustomSubstitution (const wxString &str1)
 

Detailed Description

This is the main include file for Audacity. All files which need any Audacity-specific #defines or need to access any of Audacity's global functions should #include this file.

Macro Definition Documentation

#define _ (   s)    GetCustomTranslation((s))
#define __AUDACITY_H__
#define _TS (   s)    GetCustomSubstitution( s )
#define _TS (   s)    GetCustomSubstitution( s )
#define AUDACITY_FILE_FORMAT_VERSION   "1.3.0"
#define AUDACITY_FILE_FORMAT_VERSION   "1.3.0"
#define AUDACITY_FILE_VERSION
Value:
#define AUDACITY_RELEASE
#define AUDACITY_MODLEVEL
#define AUDACITY_REVISION
#define AUDACITY_VERSION
#define AUDACITY_QUOTE(x)
#define AUDACITY_FILE_VERSION
Value:
#define AUDACITY_REVISION
Definition: Audacity.h:44
#define AUDACITY_VERSION
Definition: Audacity.h:42
#define AUDACITY_QUOTE(x)
Definition: Audacity.h:55
#define AUDACITY_RELEASE
Definition: Audacity.h:43
#define AUDACITY_MODLEVEL
Definition: Audacity.h:45
#define AUDACITY_MAKESTR (   x)    #x
#define AUDACITY_MAKESTR (   x)    #x
#define AUDACITY_MODLEVEL   0
#define AUDACITY_MODLEVEL   0
#define AUDACITY_PREFS_VERSION_STRING   "1.1.1r1"
#define AUDACITY_PREFS_VERSION_STRING   "1.1.1r1"

Referenced by InitPreferences().

#define AUDACITY_QUOTE (   x)    AUDACITY_MAKESTR( x )
#define AUDACITY_QUOTE (   x)    AUDACITY_MAKESTR( x )
#define AUDACITY_RELEASE   2
#define AUDACITY_RELEASE   2
#define AUDACITY_REVISION   0
#define AUDACITY_REVISION   0
#define AUDACITY_SUFFIX   wxT("-alpha-") __TDATE__
#define AUDACITY_SUFFIX   wxT("-alpha-") __TDATE__
#define AUDACITY_VERSION   2
#define AUDACITY_VERSION   2
#define AUDACITY_VERSION_STRING
Value:
wxT( AUDACITY_QUOTE( AUDACITY_VERSION ) ) wxT(".") \
wxT( AUDACITY_QUOTE( AUDACITY_RELEASE ) ) wxT(".") \
#define AUDACITY_REVISION
Definition: Audacity.h:44
#define AUDACITY_VERSION
Definition: Audacity.h:42
#define AUDACITY_SUFFIX
Definition: Audacity.h:48
#define AUDACITY_QUOTE(x)
Definition: Audacity.h:55
#define AUDACITY_RELEASE
Definition: Audacity.h:43

Referenced by AudacityProject::AudacityProject(), ConvertLegacyProjectFile(), AudacityLogger::DoLogText(), BuiltinEffectsModule::GetVersion(), Effect::GetVersion(), AudacityProject::HandleXMLTag(), HelpTextBuiltIn(), Module::Load(), AudacityApp::OnInit(), AboutDialog::PopulateAudacityPage(), VerCheckArgs(), CommandManager::WriteXML(), and AudacityProject::WriteXML().

#define AUDACITY_VERSION_STRING
Value:
wxT( AUDACITY_QUOTE( AUDACITY_VERSION ) ) wxT(".") \
wxT( AUDACITY_QUOTE( AUDACITY_RELEASE ) ) wxT(".") \
#define AUDACITY_RELEASE
#define AUDACITY_REVISION
#define AUDACITY_SUFFIX
#define AUDACITY_VERSION
#define AUDACITY_QUOTE(x)
#define DB_TO_LINEAR (   x)    (pow(10.0, (x) / 20.0))
#define DB_TO_LINEAR (   x)    (pow(10.0, (x) / 20.0))
#define IS_ALPHA   1
#define IS_ALPHA   1
#define JUST_BELOW_MAX_AUDIO   (1.f - 1.f/(1<<14))
#define JUST_BELOW_MAX_AUDIO   (1.f - 1.f/(1<<14))
#define LINEAR_TO_DB (   x)    (20.0 * log10(x))
#define MAX_AUDIO   (1. - 1./(1<<15))
#define PLATFORM_MAX_PATH   260
#define PROFILE_DLL_API   AUDACITY_DLL_API
#define PROFILE_DLL_API   AUDACITY_DLL_API
#define PROHIBITED   = delete
#define PROHIBITED   = delete
#define QUANTIZED_TIME (   time,
  rate 
)    (floor(((double)(time) * (rate)) + 0.5) / (rate))
#define QUANTIZED_TIME (   time,
  rate 
)    (floor(((double)(time) * (rate)) + 0.5) / (rate))
#define safenew   new
#define safenew   new

Referenced by AboutDialog::AboutDialog(), Effect::AddAnalysisTrack(), ShuttleGui::AddAttachableScrollBar(), ShuttleGuiBase::AddBitmapButton(), ShuttleGuiBase::AddButton(), ShuttleGuiBase::AddCheckBox(), ShuttleGuiBase::AddCheckBoxOnRight(), ShuttleGuiBase::AddChoice(), ShuttleGuiBase::AddCombo(), ShuttleGuiBase::AddConstTextBox(), ShuttleGuiBase::AddFixedText(), ShuttleGuiBase::AddGrid(), ShuttleGui::AddGuiWaveTrack(), ShuttleGuiBase::AddIcon(), ShuttleGuiBase::AddListBox(), ShuttleGuiBase::AddListControl(), ShuttleGuiBase::AddListControlReportMode(), ShuttleGuiBase::AddMenu(), ProgressDialog::AddMessageAsColumn(), ShuttleGuiBase::AddNumericTextBox(), ShuttleGuiBase::AddPrompt(), SelectionBar::AddRadioButton(), ShuttleGuiBase::AddRadioButton(), ShuttleGuiBase::AddRadioButtonToGroup(), ShuttleGui::AddRulerVertical(), ShuttleGuiBase::AddSlider(), ShuttleGuiBase::AddSpinCtrl(), ShuttleGuiBase::AddTextBox(), ShuttleGuiBase::AddTextWindow(), SelectionBar::AddTime(), ShuttleGuiBase::AddTitle(), SelectionBar::AddTitle(), ShuttleGuiBase::AddTree(), ShuttleGuiBase::AddUnits(), ShuttleGuiBase::AddVariableText(), SelectionBar::AddVLine(), ControlToolBar::ArrangeButtons(), AskCopyOrEdit(), ASlider::ASlider(), AudacityProject::AudacityProject(), PopupMenuTable::BuildMenu(), AppCommandEvent::Clone(), NumericEditor::Clone(), GrabberEvent::Clone(), NumericRenderer::Clone(), ChoiceEditor::Clone(), ContrastDialog::ContrastDialog(), WaveTrack::Copy(), LabelTrack::CopySelectedText(), PlaybackPrefsFactory::Create(), BatchPrefsFactory::Create(), ImportExportPrefsFactory::Create(), WarningsPrefsFactory::Create(), ProjectsPrefsFactory::Create(), EffectsPrefsFactory::Create(), TracksBehaviorsPrefsFactory::Create(), MousePrefsFactory::Create(), DirectoriesPrefsFactory::Create(), ThemePrefsFactory::Create(), RecordingPrefsFactory::Create(), NumericEditor::Create(), LibraryPrefsFactory::Create(), TracksPrefsFactory::Create(), GUIPrefsFactory::Create(), ModulePrefsFactory::Create(), QualityPrefsFactory::Create(), DevicePrefsFactory::Create(), WaveformPrefsFactory::Create(), ProgressDialog::Create(), SpectrumPrefsFactory::Create(), ExtImportPrefsFactory::Create(), ChoiceEditor::Create(), KeyConfigPrefsFactory::Create(), TrackList::Create(), LabelTrack::CreateCustomGlyphs(), LadspaEffectsModule::CreateInstance(), CreateNewAudacityProject(), AudacityApp::CreateSingleInstanceChecker(), CreateStdButtonSizer(), Effect::CreateUI(), Exporter::CreateUserPane(), LabelTrack::CutSelectedText(), DECLARE_MODULE_ENTRY(), LWSlider::Draw(), WaveTrack::Duplicate(), ErrorDialog::ErrorDialog(), EVT_COMMAND(), ExportMixerDialog::ExportMixerDialog(), FreqWindow::FreqWindow(), CommandDirectory::Get(), ModuleManager::Get(), PluginManager::Get(), Grid::Grid(), HistoryWindow::HistoryWindow(), HtmlWindow::HtmlWindow(), ImportStreamDialog::ImportStreamDialog(), ShuttleGuiBase::Init(), ODManager::Init(), AButton::Init(), InitAudioIO(), EffectUIHost::Initialize(), InitializeFFT(), ODManager::InstanceFirstTime(), KeyView::KeyView(), Lyrics::Lyrics(), LyricsWindow::LyricsWindow(), ToolBar::MakeButton(), MakeFunctor(), Scrubber::MaybeStartScrubbing(), MixerBoard::MixerBoard(), MixerBoardFrame::MixerBoardFrame(), NotYetAvailableException::Move(), UserException::Move(), FileException::Move(), InconsistencyException::Move(), SimpleMessageBoxException::Move(), MultiDialog::MultiDialog(), TimerRecordDialog::NewPathControl(), TrackFactory::NewWaveTrack(), TrackPanel::AudacityTimer::Notify(), IPCServ::OnAcceptConnection(), BatchProcessDialog::OnApplyToFiles(), BatchProcessDialog::OnApplyToProject(), AudacityProject::OnContrast(), AudacityProject::OnHistory(), AudacityApp::OnInit(), AudacityProject::OnKaraoke(), AudacityApp::OnMenuAbout(), AudacityProject::OnMixerBoard(), AudacityProject::OnPlotSpectrum(), LabelTrackMenuTable::OnSetFont(), AudacityProject::OnShow(), OpenScreenshotTools(), ExportPlugin::OptionsCreate(), ExportCL::OptionsCreate(), ExportPCM::OptionsCreate(), ExportMP3::OptionsCreate(), DeviceToolBar::Populate(), SplashDialog::Populate(), MixerToolBar::Populate(), SpectralSelectionBar::Populate(), MeterToolBar::Populate(), ToolsToolBar::Populate(), SelectionBar::Populate(), TranscriptionToolBar::Populate(), AboutDialog::PopulateAudacityPage(), AboutDialog::PopulateInformationPage(), AboutDialog::PopulateLicensePage(), TimeDialog::PopulateOrExchange(), EffectSilence::PopulateOrExchange(), KeyConfigPrefs::PopulateOrExchange(), EffectNoise::PopulateOrExchange(), EffectToneGen::PopulateOrExchange(), ScreenFrame::PopulateOrExchange(), EffectCompressor::PopulateOrExchange(), EffectDtmf::PopulateOrExchange(), EffectAutoDuck::PopulateOrExchange(), EffectChangeSpeed::PopulateOrExchange(), EffectScienFilter::PopulateOrExchange(), TimerRecordDialog::PopulateOrExchange(), ExportMultiple::PopulateOrExchange(), ExtImportPrefs::PopulateOrExchange(), EffectEqualization::PopulateOrExchange(), TagsEditor::PopulateOrExchange(), PluginRegistrationDialog::PopulateOrExchange(), LadspaEffect::PopulateUI(), PrefsDialog::PrefsDialog(), ScreenFrame::ProcessEvent(), ToolManager::ReadConfig(), ToolBar::ReCreateButtons(), AdornedRulerPanel::ReCreateButtons(), AudacityProject::RecreateMixerBoard(), ToolManager::Reset(), AudacityLogger::Show(), SplashDialog::Show2(), ShowAliasMissingDialog(), HelpSystem::ShowHtmlText(), HelpSystem::ShowInfoDialog(), EffectUIHost::ShowModal(), ShowModelessErrorDialog(), SliderDialog::SliderDialog(), ODManager::Start(), ShuttleGuiBase::StartInvisiblePanel(), ExpandingToolBar::StartMoving(), ShuttleGuiBase::StartNotebook(), ShuttleGuiBase::StartNotebookPage(), ShuttleGuiBase::StartPanel(), ShuttleGuiBase::StartScroller(), ShuttleGuiBase::StartStatic(), ShuttleGuiBase::TieRadioButton(), ToolManager::ToolManager(), TrackPanelFactory(), ToolManager::UndockBar(), and MixerBoard::UpdateTrackClusters().

#define WXINTL_NO_GETTEXT_MACRO
#define WXINTL_NO_GETTEXT_MACRO
#define wxPLURAL (   sing,
  plur,
 
)    wxGetTranslation((sing), (plur), n)
#define wxPLURAL (   sing,
  plur,
 
)    wxGetTranslation((sing), (plur), n)
#define XO (   s)    wxT(s)

Referenced by ControlToolBar::ControlToolBar(), EVT_COMMAND_RANGE(), EffectStereoToMono::GetDescription(), EffectPaulstretch::GetDescription(), EffectFade::GetDescription(), EffectInvert::GetDescription(), EffectRepair::GetDescription(), EffectReverse::GetDescription(), EffectLeveller::GetDescription(), EffectSilence::GetDescription(), EffectNoiseReduction::GetDescription(), EffectRepeat::GetDescription(), NyquistEffectsModule::GetDescription(), EffectFindClipping::GetDescription(), EffectEcho::GetDescription(), EffectNoise::GetDescription(), EffectNormalize::GetDescription(), EffectToneGen::GetDescription(), BuiltinEffectsModule::GetDescription(), EffectDtmf::GetDescription(), EffectChangeSpeed::GetDescription(), EffectAmplify::GetDescription(), EffectAutoDuck::GetDescription(), EffectClickRemoval::GetDescription(), EffectCompressor::GetDescription(), EffectTruncSilence::GetDescription(), EffectScienFilter::GetDescription(), EffectReverb::GetDescription(), EffectBassTreble::GetDescription(), EffectWahwah::GetDescription(), EffectPhaser::GetDescription(), EffectDistortion::GetDescription(), EffectEqualization::GetDescription(), LadspaEffectsModule::GetDescription(), Effect::GetFamily(), BuiltinEffectsModule::GetName(), NyquistEffectsModule::GetSymbol(), BuiltinEffectsModule::GetSymbol(), NyquistEffect::GetSymbol(), LadspaEffectsModule::GetSymbol(), NyquistEffectsModule::GetVendor(), BuiltinEffectsModule::GetVendor(), Effect::GetVendor(), LadspaEffectsModule::GetVendor(), NyquistEffect::GetVersion(), NyquistEffect::Init(), ToolsToolBar::RegenerateTooltips(), and TranscriptionToolBar::RegenerateTooltips().

#define XO (   s)    wxT(s)

Function Documentation

const wxString& GetCustomSubstitution ( const wxString &  str1)

Referenced by GetCustomTranslation().

const wxString& GetCustomTranslation ( const wxString &  str1)
void QuitAudacity ( bool  bForce)
void QuitAudacity ( )