Audacity  3.0.3
Namespaces | Functions | Variables
CompareAudioCommand.cpp File Reference

Contains definitions for CompareAudioCommand class. More...

#include "CompareAudioCommand.h"
#include "LoadCommands.h"
#include "../ViewInfo.h"
#include "../WaveTrack.h"
#include <float.h>
#include <wx/intl.h>
#include "../Shuttle.h"
#include "../ShuttleGui.h"
#include "../widgets/AudacityMessageBox.h"
#include "../widgets/valnum.h"
#include "CommandContext.h"
Include dependency graph for CompareAudioCommand.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{CompareAudioCommand.cpp}
 

Functions

void RegisterCompareAudio (Registrar &R)
 
int min (int a, int b)
 

Variables

BuiltinCommandsModule::Registration< CompareAudioCommandanonymous_namespace{CompareAudioCommand.cpp}::reg
 

Detailed Description

Contains definitions for CompareAudioCommand class.

Definition in file CompareAudioCommand.cpp.

Function Documentation

◆ min()

int min ( int  a,
int  b 
)
inline

Definition at line 106 of file CompareAudioCommand.cpp.

107 {
108  return (a < b) ? a : b;
109 }

Referenced by NumericConverter::Adjust(), SelectHandle::AdjustFreqSelection(), AudioIO::AllocateBuffers(), EffectNormalize::AnalyseTrack(), WaveClip::Append(), CompareAudioCommand::Apply(), EffectNoiseReduction::Worker::ApplyFreqSmoothing(), SetTrackVisualsCommand::ApplyInner(), PCMAliasBlockFile::BuildFromXML(), SimpleBlockFile::BuildFromXML(), LV2Effect::BuildPlain(), SqliteSampleBlock::CalcSummary(), Exporter::CheckMix(), Ruler::Updater::ChooseFonts(), AudioIOBase::PlaybackSchedule::ClampTrackTime(), Envelope::ClampValue(), EffectNoiseReduction::Worker::Classify(), RingBuffer::Clear(), WaveClip::ClearAndAddCutLine(), WaveTrack::ClearAndPaste(), Envelope::CollapseRegion(), RecordingPrefs::Commit(), ComputeLegacySummaryInfo(), Constrain(), NumericConverter::ControlsToValue(), WaveformSettings::ConvertToActualDBRange(), SpectrogramSettings::ConvertToEnumeratedWindowSizes(), Sequence::Copy(), WaveTrack::Copy(), EffectDistortion::CubicTable(), RingBuffer::Discard(), Sequence::DoAppend(), anonymous_namespace{SelectMenus.cpp}::DoBoundaryMove(), AdornedRulerPanel::DoDrawMarks(), AdornedRulerPanel::DoDrawSelection(), SqliteSampleBlock::DoGetMinMaxRMS(), WaveformVRulerControls::DoHandleWheelRotation(), SpectrumVRulerControls::DoHandleWheelRotation(), LabelTrackView::DoKeyDown(), EffectTruncSilence::DoRemoval(), anonymous_namespace{TrackMenus.cpp}::DoSortTracks(), ShuttleGuiBase::DoTieSlider(), ShuttleGuiBase::DoTieSpinCtrl(), WaveformVRulerControls::DoUpdateVRuler(), SpectrumVZoomHandle::DoZoom(), WaveformVZoomHandle::DoZoom(), ProjectWindow::DoZoomFit(), anonymous_namespace{WaveTrackView.cpp}::SubViewAdjustHandle::Drag(), SampleHandle::Drag(), ZoomHandle::Draw(), anonymous_namespace{SpectrumView.cpp}::DrawClipSpectrum(), anonymous_namespace{TimeTrackView.cpp}::DrawHorzRulerAndCurve(), anonymous_namespace{WaveformView.cpp}::DrawIndividualSamples(), anonymous_namespace{WaveformView.cpp}::DrawMinMaxRMS(), anonymous_namespace{WaveformView.cpp}::DrawWaveformBackground(), TrackVRulerControls::DrawZooming(), EnumValueSymbols::EnumValueSymbols(), EffectDistortion::ExponentialTable(), ExtractFloats(), AudioIO::FillBuffers(), AudioIoCallback::FillInputBuffers(), Sequence::FindBlock(), anonymous_namespace{WaveClip.cpp}::findCorrection(), anonymous_namespace{SelectHandle.cpp}::findMaxRatio(), SampleHandle::FindSampleEditingLevel(), anonymous_namespace{Scrubbing.cpp}::FindScrubbingSpeed(), anonymous_namespace{Scrubbing.cpp}::FindSeekSpeed(), anonymous_namespace{SpectrumView.cpp}::findValue(), EffectNoiseReduction::Worker::GatherStatistics(), Sequence::Get(), WaveTrackCache::Get(), WaveTrack::Get(), RingBuffer::Get(), SqliteSampleBlock::GetBlob(), Effect::GetBounds(), AudioIO::GetCommonlyAvailCapture(), AudioIO::GetCommonlyFreePlayback(), AudioIoCallback::GetCommonlyReadyPlayback(), WaveTrack::GetDisplayBounds(), WaveTrack::GetEnvelopeValues(), NumericConverter::GetFormatIndex(), ProjectFileIO::GetFreeDiskSpace(), Sequence::GetMinMax(), TrackList::GetMinOffset(), TracksPrefs::GetPinnedHeadPositionPreference(), anonymous_namespace{AdornedRulerPanel.cpp}::GetPlayHeadFraction(), EffectNoiseRemoval::GetProfile(), WaveClip::GetSpectrogram(), WaveTrack::GetSpectrumBounds(), PlayRegion::GetStart(), TrackList::GetStartTime(), StretchHandle::GetT1(), Sequence::GetWaveDisplay(), WaveClip::GetWaveDisplay(), GetWaveYPos(), ProjectWindow::GetZoomOfToFit(), GuessFloatFormats(), StretchHandle::HitTest(), PCMImportFileHandle::Import(), EffectAmplify::Init(), Envelope::InsertOrReplaceRelative(), LadspaEffectMeter::LadspaEffectMeter(), limitSampleBufferSize(), anonymous_namespace{Sequence.cpp}::MinMaxSumsq::MinMaxSumsq(), Mixer::MixSameRate(), Mixer::MixVariableRates(), Envelope::MoveDragPoint(), SelectHandle::MoveSnappingFreqSelection(), anonymous_namespace{SelectMenus.cpp}::MoveWhenAudioInactive(), anonymous_namespace{SelectMenus.cpp}::NearestZeroCrossing(), NoteTrackDisplayData::NoteTrackDisplayData(), ODDecodeBlockFile::ODDecodeBlockFile(), TimerRecordDialog::OnDatePicker_End(), TimerRecordDialog::OnDatePicker_Start(), NumericTextCtrl::OnKeyDown(), ProjectWindow::OnScrollRight(), ProjectWindow::OnScrollRightButton(), SelectActions::Handler::OnSelectCursorStoredCursor(), SpectrumVRulerMenuTable::OnSpectrumScaleType(), ScrubbingOverlay::OnTimer(), TimerRecordDialog::OnTimeText_Duration(), WaveformVRulerMenuTable::OnWaveformScaleType(), Envelope::PasteEnvelope(), PCMAliasBlockFile::PCMAliasBlockFile(), ProjectAudioManager::PlayPlayRegion(), ApplyMacroDialog::Populate(), MacrosWindow::Populate(), SpecCache::Populate(), PluginRegistrationDialog::PopulateOrExchange(), SpectrumPrefs::PopulatePaddingChoices(), LadspaEffect::PopulateUI(), Effect::Preview(), NyquistEffect::Process(), EffectRepair::Process(), EffectNoiseReduction::Worker::Process(), Mixer::Process(), EffectReverb::ProcessBlock(), NyquistEffect::ProcessOne(), EffectClickRemoval::ProcessOne(), EffectTwoPassSimpleMono::ProcessOne(), EffectNoiseReduction::Worker::ProcessSamples(), RingBuffer::Put(), CommandParameters::ReadAndVerify(), RealtimeEffectState::RealtimeProcess(), AdornedRulerPanel::ReCreateButtons(), EffectNoiseRemoval::RemoveNoise(), Mixer::Reposition(), ProjectWindow::ScrollingLowerBoundTime(), anonymous_namespace{SelectMenus.cpp}::SeekWhenAudioInactive(), WaveTrack::Set(), ViewInfo::SetBeforeScreenWidth(), LV2Effect::SetBlockSize(), VSTEffect::SetBlockSize(), EffectEqualization::setCurve(), EffectScienFilterPanel::SetDbRange(), WaveTrack::SetDisplayBounds(), Envelope::SetDragPoint(), ProjectWindow::SetHorizontalThumb(), LV2Effect::SetHost(), TracksPrefs::SetPinnedHeadPositionPreference(), Ruler::SetRange(), Sequence::SetSamples(), WaveTrack::SetSpectrumBounds(), Envelope::SetTrackLen(), ZoomInfo::SetZoom(), SelectHandle::SnapCenterOnce(), SolveIntegrateInverseInterpolated(), ProjectSelectionManager::SSBL_ModifySpectralSelection(), SelectHandle::StartSnappingFreqSelection(), AudioIO::StartStream(), StretchHandle::Stretch(), anonymous_namespace{GetInfoCommand.cpp}::ShuttleGuiGetDefinition::TieSlider(), ShuttleGuiBase::TieSlider(), anonymous_namespace{GetInfoCommand.cpp}::ShuttleGuiGetDefinition::TieSpinCtrl(), ShuttleGuiBase::TieSpinCtrl(), TimerRecordDialog::TransferDataFromWindow(), TrapDouble(), TrapFloat(), TrapLong(), MeterPanel::UpdateDisplay(), EffectBassTreble::UpdateGain(), Ruler::Updater::UpdateLinear(), Ruler::Updater::UpdateNonlinear(), MeterPanel::UpdatePrefs(), AdornedRulerPanel::UpdateQuickPlayPos(), AdornedRulerPanel::UpdateRects(), TimeTrackVRulerControls::UpdateRuler(), SpectrogramSettings::Validate(), WaveformSettings::Validate(), UndoManager::VisitStates(), PasteTimeWarper::Warp(), and FFmpegImportFileHandle::WriteData().

◆ RegisterCompareAudio()

void RegisterCompareAudio ( Registrar R)

Definition at line 43 of file CompareAudioCommand.cpp.

43  {
44  R.AddCommand( std::make_unique<CompareAudioCommand>() );
45 // std::unique_ptr<CommandOutputTargets> &&target
46 // return std::make_shared<CompareAudioCommand>(*this, std::move(target));
47 
48 }

References Registrar::AddCommand().

Here is the call graph for this function:
Registrar::AddCommand
virtual void AddCommand(std::unique_ptr< AudacityCommand > &&WXUNUSED(command))
Definition: Registrar.h:46