Audacity  2.2.2
Functions
CompareAudioCommand.cpp File Reference

Contains definitions for CompareAudioCommand class. More...

#include "../Audacity.h"
#include "CompareAudioCommand.h"
#include "../MemoryX.h"
#include "../Project.h"
#include "../WaveTrack.h"
#include "Command.h"
#include <float.h>
#include <wx/intl.h>
#include "../ShuttleGui.h"
#include "../widgets/ErrorDialog.h"
#include "../widgets/valnum.h"
#include "../SampleFormat.h"
#include "CommandContext.h"

Go to the source code of this file.

Functions

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

Detailed Description

Contains definitions for CompareAudioCommand class.

Definition in file CompareAudioCommand.cpp.

Function Documentation

int min ( int  a,
int  b 
)
inline

Definition at line 104 of file CompareAudioCommand.cpp.

Referenced by NumericConverter::Adjust(), SelectHandle::AdjustFreqSelection(), Sequence::Append(), WaveClip::Append(), CompareAudioCommand::Apply(), EffectNoiseReduction::Worker::ApplyFreqSmoothing(), audacityAudioCallback(), NyquistEffect::BuildEffectWindow(), PCMAliasBlockFile::BuildFromXML(), SimpleBlockFile::BuildFromXML(), BlockFile::CalcSummaryFromBuffer(), Exporter::CheckMix(), Envelope::ClampValue(), EffectNoiseReduction::Worker::Classify(), RingBuffer::Clear(), WaveClip::ClearAndAddCutLine(), WaveTrack::ClearAndPaste(), Envelope::CollapseRegion(), RecordingPrefs::Commit(), ComputeMinMax256(), Constrain(), NumericConverter::ControlsToValue(), WaveformSettings::ConvertToActualDBRange(), SpectrogramSettings::ConvertToEnumeratedWindowSizes(), Sequence::Copy(), WaveTrack::Copy(), EffectDistortion::CubicTable(), RingBuffer::Discard(), AdornedRulerPanel::DoDrawSelection(), EffectTruncSilence::DoRemoval(), Scrubber::DoScrub(), WaveTrackVZoomHandle::DoZoom(), SampleHandle::Drag(), TimeTrack::Draw(), TrackArtist::DrawClipSpectrum(), ZoomHandle::DrawExtras(), TrackArtist::DrawIndividualSamples(), TrackArtist::DrawMinMaxRMS(), TrackArtist::DrawWaveformBackground(), TrackVRulerControls::DrawZooming(), EffectDistortion::ExponentialTable(), ExtractFloats(), AudioIO::FillBuffers(), Sequence::FindBlock(), SampleHandle::FindSampleEditingLevel(), findValue(), BlockFile::FixSummary(), EffectNoiseReduction::Worker::GatherStatistics(), RingBuffer::Get(), WaveTrack::Get(), Sequence::Get(), WaveTrackCache::Get(), AudioIO::GetCommonlyAvailCapture(), AudioIO::GetCommonlyAvailPlayback(), WaveTrack::GetEnvelopeValues(), NumericConverter::GetFormatIndex(), Sequence::GetMinMax(), BlockFile::GetMinMaxRMS(), WaveClip::GetSpectrogram(), WaveTrack::GetSpectrumBounds(), Sequence::GetWaveDisplay(), WaveClip::GetWaveDisplay(), GetWaveYPos(), AudacityProject::GetZoomOfToFit(), GuessFloatFormats(), WaveTrackVRulerControls::HandleWheelRotation(), PCMImportFileHandle::Import(), EffectAmplify::Init(), AudioIO::ScrubQueue::Entry::Init(), Envelope::InsertOrReplaceRelative(), LadspaEffectMeter::LadspaEffectMeter(), limitSampleBufferSize(), AudioIO::LimitStreamTime(), Scrubber::MaybeStartScrubbing(), Mixer::MixSameRate(), Mixer::MixVariableRates(), SpectralSelectionBar::ModifySpectralSelection(), Envelope::MoveDragPoint(), SelectHandle::MoveSnappingFreqSelection(), AudacityProject::MoveWhenAudioInactive(), AudacityProject::NearestZeroCrossing(), ODDecodeBlockFile::ODDecodeBlockFile(), AudacityProject::OnBoundaryMove(), TimerRecordDialog::OnDatePicker_End(), TimerRecordDialog::OnDatePicker_Start(), NumericTextCtrl::OnKeyDown(), LabelTrack::OnKeyDown(), AdornedRulerPanel::OnMouseEvents(), AudacityProject::OnPunchAndRoll(), AudacityProject::OnScrollRight(), AudacityProject::OnScrollRightButton(), AudacityProject::OnSelectCursorStoredCursor(), SpectrumVRulerMenuTable::OnSpectrumScaleType(), ScrubbingOverlay::OnTimer(), TimerRecordDialog::OnTimeText_Duration(), WaveformVRulerMenuTable::OnWaveformScaleType(), AudacityProject::OnZoomFit(), Envelope::Paste(), PCMAliasBlockFile::PCMAliasBlockFile(), ControlToolBar::PlayPlayRegion(), ApplyMacroDialog::Populate(), SpecCache::Populate(), MacrosWindow::Populate(), SpectrumPrefs::PopulatePaddingChoices(), Effect::Preview(), EffectRepair::Process(), EffectNormalize::Process(), NyquistEffect::Process(), Mixer::Process(), EffectNoiseReduction::Worker::Process(), EffectReverb::ProcessBlock(), EffectClickRemoval::ProcessOne(), EffectTwoPassSimpleMono::ProcessOne(), NyquistEffect::ProcessOne(), EffectNoiseReduction::Worker::ProcessSamples(), RingBuffer::Put(), BlockFile::Read256(), BlockFile::Read64K(), SimpleBlockFile::ReadData(), Effect::RealtimeProcess(), AdornedRulerPanel::ReCreateButtons(), Mixer::Reposition(), AudacityProject::ScrollingLowerBoundTime(), AudacityProject::SeekWhenAudioInactive(), WaveTrack::Set(), ViewInfo::SetBeforeScreenWidth(), EffectEqualization::setCurve(), EffectScienFilterPanel::SetDbRange(), WaveTrack::SetDisplayBounds(), Envelope::SetDragPoint(), AudacityProject::SetHorizontalThumb(), Ruler::SetRange(), Sequence::SetSamples(), WaveTrack::SetSpectrumBounds(), Envelope::SetTrackLen(), ZoomInfo::SetZoom(), SelectHandle::SnapCenterOnce(), SolveIntegrateInverseInterpolated(), AudacityProject::SortTracks(), AudacityProject::SSBL_ModifySpectralSelection(), SelectHandle::StartSnappingFreqSelection(), AudioIO::StartStream(), ShuttleGuiBase::TieSlider(), ShuttleGuiBase::TieSpinCtrl(), TimerRecordDialog::TransferDataFromWindow(), TrapDouble(), TrapFloat(), TrapLong(), Ruler::Update(), MeterPanel::UpdateDisplay(), EffectBassTreble::UpdateGain(), MeterPanel::UpdatePrefs(), AdornedRulerPanel::UpdateQuickPlayPos(), TrackPanelCellIterator::UpdateRect(), AdornedRulerPanel::UpdateRects(), TrackArtist::UpdateVRuler(), WaveformSettings::Validate(), and SpectrogramSettings::Validate().

105 {
106  return (a < b) ? a : b;
107 }
void RegisterCompareAudio ( Registrar R)

Definition at line 38 of file CompareAudioCommand.cpp.

References Registrar::AddCommand().

38  {
39  R.AddCommand( std::make_unique<CompareAudioCommand>() );
40 // std::unique_ptr<CommandOutputTargets> &&target
41 // return std::make_shared<CompareAudioCommand>(*this, std::move(target));
42 
43 }
virtual void AddCommand(movable_ptr< AudacityCommand > &&WXUNUSED(command))
Definition: Registrar.h:45