Audacity  3.2.0
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
EffectFindClipping Class Referencefinal

Locates clipping and inserts labels when found. More...

#include <FindClipping.h>

Inheritance diagram for EffectFindClipping:
[legend]
Collaboration diagram for EffectFindClipping:
[legend]

Public Member Functions

 EffectFindClipping ()
 
virtual ~EffectFindClipping ()
 
ComponentInterfaceSymbol GetSymbol () override
 
TranslatableString GetDescription () override
 
ManualPageID ManualPage () override
 Name of a page in the Audacity alpha manual, default is empty. More...
 
EffectType GetType () override
 Type determines how it behaves. More...
 
bool DefineParams (ShuttleParams &S) override
 
bool GetAutomationParameters (CommandParameters &parms) override
 Save current settings into parms. More...
 
bool SetAutomationParameters (CommandParameters &parms) override
 Change settings to those stored in parms. More...
 
bool Process () override
 
void PopulateOrExchange (ShuttleGui &S) override
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
- Public Member Functions inherited from Effect
 Effect ()
 
virtual ~Effect ()
 
PluginPath GetPath () override
 
VendorSymbol GetVendor () override
 
wxString GetVersion () override
 
EffectFamilySymbol GetFamily () override
 Report identifier and user-visible name of the effect protocol. More...
 
bool IsInteractive () override
 Whether the effect needs a dialog for entry of settings. More...
 
bool IsDefault () override
 Whether the effect sorts "above the line" in the menus. More...
 
bool IsLegacy () override
 
bool SupportsRealtime () override
 Whether the effect supports realtime previewing (while audio is playing). More...
 
bool SupportsAutomation () override
 Whether the effect can be used without the UI, in a macro. More...
 
bool LoadUserPreset (const RegistryPath &name) override
 Change settings to a user-named preset. More...
 
bool SaveUserPreset (const RegistryPath &name) override
 Save current settings as a user-named preset. More...
 
RegistryPaths GetFactoryPresets () override
 Report names of factory presets. More...
 
bool LoadFactoryPreset (int id) override
 Change settings to the preset whose name is GetFactoryPresets()[id] More...
 
bool LoadFactoryDefaults () override
 Change settings back to "factory default". More...
 
bool SetHost (EffectHostInterface *host) override
 
unsigned GetAudioInCount () override
 
unsigned GetAudioOutCount () override
 
int GetMidiInCount () override
 
int GetMidiOutCount () override
 
sampleCount GetLatency () override
 Called for destructive, non-realtime effect computation. More...
 
size_t GetTailSize () override
 
void SetSampleRate (double rate) override
 
size_t SetBlockSize (size_t maxBlockSize) override
 
size_t GetBlockSize () const override
 
bool ProcessInitialize (sampleCount totalLen, ChannelNames chanMap=NULL) override
 Called for destructive, non-realtime effect computation. More...
 
bool ProcessFinalize () override
 Called for destructive, non-realtime effect computation. More...
 
size_t ProcessBlock (float **inBlock, float **outBlock, size_t blockLen) override
 Called for destructive, non-realtime effect computation. More...
 
bool RealtimeInitialize () override
 
bool RealtimeAddProcessor (unsigned numChannels, float sampleRate) override
 
bool RealtimeFinalize () override
 
bool RealtimeSuspend () override
 
bool RealtimeResume () noexcept override
 
bool RealtimeProcessStart () override
 
size_t RealtimeProcess (int group, float **inbuf, float **outbuf, size_t numSamples) override
 
bool RealtimeProcessEnd () noexcept override
 
int ShowClientInterface (wxWindow &parent, wxDialog &dialog, bool forceModal=false) override
 
bool PopulateUI (ShuttleGui &S) final
 Adds controls to a panel that is given as the parent window of S More...
 
bool IsGraphicalUI () override
 
bool ValidateUI () override
 
bool HideUI () override
 
bool CloseUI () override
 
bool CanExportPresets () override
 
void ExportPresets () override
 
void ImportPresets () override
 
bool HasOptions () override
 
void ShowOptions () override
 
EffectDefinitionInterfaceGetDefinition () override
 
double GetDuration () override
 
NumericFormatSymbol GetDurationFormat () override
 
virtual NumericFormatSymbol GetSelectionFormat ()
 
void SetDuration (double duration) override
 
RegistryPath GetUserPresetsGroup (const RegistryPath &name) override
 
RegistryPath GetCurrentSettingsGroup () override
 
RegistryPath GetFactoryDefaultsGroup () override
 
virtual wxString GetSavedStateGroup ()
 
int ShowHostInterface (wxWindow &parent, const EffectDialogFactory &factory, bool forceModal=false) override
 
unsigned TestUIFlags (unsigned mask)
 
void SetPresetParameters (const wxArrayString *Names, const wxArrayString *Values)
 
virtual bool Startup (EffectUIClientInterface *client)
 
virtual bool GetAutomationParametersAsString (wxString &parms)
 
virtual bool SetAutomationParametersFromString (const wxString &parms)
 
virtual bool IsBatchProcessing ()
 
virtual void SetBatchProcessing (bool start)
 
bool DoEffect (double projectRate, TrackList *list, WaveTrackFactory *factory, NotifyingSelectedRegion &selectedRegion, unsigned flags, wxWindow *pParent=nullptr, const EffectDialogFactory &dialogFactory={})
 
bool Delegate (Effect &delegate, wxWindow &parent, const EffectDialogFactory &factory)
 
int MessageBox (const TranslatableString &message, long style=DefaultMessageBoxStyle, const TranslatableString &titleStr={})
 
virtual bool Startup ()
 
- Public Member Functions inherited from EffectUIClientInterface
virtual ~EffectUIClientInterface ()
 
- Public Member Functions inherited from EffectProcessor
virtual ~EffectProcessor ()
 
- Public Member Functions inherited from EffectDefinitionInterface
virtual ~EffectDefinitionInterface ()
 
virtual EffectType GetClassification ()
 Determines which menu it appears in; default same as GetType(). More...
 
virtual bool EnablesDebug ()
 Whether the effect dialog should have a Debug button; default, always false. More...
 
virtual FilePath HelpPage ()
 Fully qualified local help file name, default is empty. More...
 
virtual bool IsHiddenFromMenus ()
 Default is false. More...
 
- Public Member Functions inherited from ComponentInterface
virtual ~ComponentInterface ()
 
TranslatableString GetName ()
 
virtual bool DefineParams (ShuttleParams &WXUNUSED(S))
 
- Public Member Functions inherited from EffectUIHostInterface
virtual ~EffectUIHostInterface ()
 
- Public Member Functions inherited from EffectHostInterface
virtual ~EffectHostInterface ()
 

Static Public Attributes

static const ComponentInterfaceSymbol Symbol { XO("Find Clipping") }
 
- Static Public Attributes inherited from Effect
static const wxString kUserPresetIdent = wxT("User Preset:")
 
static const wxString kFactoryPresetIdent = wxT("Factory Preset:")
 
static const wxString kCurrentSettingsIdent = wxT("<Current Settings>")
 
static const wxString kFactoryDefaultsIdent = wxT("<Factory Defaults>")
 

Private Member Functions

bool ProcessOne (LabelTrack *lt, int count, const WaveTrack *wt, sampleCount start, sampleCount len)
 

Private Attributes

int mStart
 Using int rather than sampleCount because values are only ever small numbers. More...
 
int mStop
 Using int rather than sampleCount because values are only ever small numbers. More...
 

Additional Inherited Members

- Public Types inherited from Effect
enum  : long { DefaultMessageBoxStyle = wxOK | wxCENTRE }
 
- Static Public Member Functions inherited from Effect
static void IncEffectCounter ()
 
- Static Public Member Functions inherited from EffectDefinitionInterface
static Identifier GetSquashedName (const Identifier &ident)
 A utility that strips spaces and CamelCases a name. More...
 
- Protected Member Functions inherited from Effect
bool EnableApply (bool enable=true)
 
bool EnablePreview (bool enable=true)
 
virtual bool Init ()
 
virtual bool CheckWhetherSkipEffect ()
 
virtual bool ProcessPass ()
 
virtual bool InitPass1 ()
 
virtual bool InitPass2 ()
 
virtual void End ()
 
virtual double CalcPreviewInputLength (double previewLength)
 
virtual void Preview (bool dryOnly)
 
bool TotalProgress (double frac, const TranslatableString &={})
 
bool TrackProgress (int whichTrack, double frac, const TranslatableString &={})
 
bool TrackGroupProgress (int whichGroup, double frac, const TranslatableString &={})
 
int GetNumWaveTracks ()
 
int GetNumWaveGroups ()
 
void GetBounds (const WaveTrack &track, const WaveTrack *pRight, sampleCount *start, sampleCount *len)
 
void SetLinearEffectFlag (bool linearEffectFlag)
 
void SetPreviewFullSelectionFlag (bool previewDurationFlag)
 
bool IsPreviewing ()
 
void IncludeNotSelectedPreviewTracks (bool includeNotSelected)
 
void CopyInputTracks (bool allSyncLockSelected=false)
 
std::shared_ptr< AddedAnalysisTrackAddAnalysisTrack (const wxString &name=wxString())
 
ModifiedAnalysisTrack ModifyAnalysisTrack (const LabelTrack *pOrigTrack, const wxString &name=wxString())
 
void ReplaceProcessedTracks (const bool bGoodResult)
 
TrackAddToOutputTracks (const std::shared_ptr< Track > &t)
 
const TrackListinputTracks () const
 
const AudacityProjectFindProject () const
 
- Protected Attributes inherited from Effect
BasicUI::ProgressDialogmProgress = nullptr
 
double mProjectRate
 
double mSampleRate
 
WaveTrackFactorymFactory
 
std::shared_ptr< TrackListmOutputTracks
 
double mT0
 
double mT1
 
wxArrayString mPresetNames
 
wxArrayString mPresetValues
 
int mPass
 
wxWeakRef< wxDialog > mHostUIDialog
 This smart pointer tracks the lifetime of the dialog. More...
 
wxWeakRef< wxDialog > mUIDialog
 This weak pointer may be the same as the above, or null. More...
 
wxWindow * mUIParent
 
unsigned mUIFlags { 0 }
 
sampleCount mSampleCnt
 
- Static Protected Attributes inherited from Effect
static int nEffectsDone =0
 

Detailed Description

Locates clipping and inserts labels when found.

Definition at line 21 of file FindClipping.h.

Constructor & Destructor Documentation

◆ EffectFindClipping()

EffectFindClipping::EffectFindClipping ( )

Definition at line 49 of file FindClipping.cpp.

50 {
51  mStart = DEF_Start;
52  mStop = DEF_Stop;
53 }

References mStart, and mStop.

◆ ~EffectFindClipping()

EffectFindClipping::~EffectFindClipping ( )
virtual

Definition at line 55 of file FindClipping.cpp.

56 {
57 }

Member Function Documentation

◆ DefineParams()

bool EffectFindClipping::DefineParams ( ShuttleParams S)
override

Definition at line 84 of file FindClipping.cpp.

84  {
85  S.SHUTTLE_PARAM( mStart, Start );
86  S.SHUTTLE_PARAM( mStop, Stop );
87  return true;
88 }

References mStart, mStop, and S.

◆ GetAutomationParameters()

bool EffectFindClipping::GetAutomationParameters ( CommandParameters parms)
overridevirtual

Save current settings into parms.

Reimplemented from Effect.

Definition at line 90 of file FindClipping.cpp.

91 {
92  parms.Write(KEY_Start, mStart);
93  parms.Write(KEY_Stop, mStop);
94 
95  return true;
96 }

References mStart, and mStop.

◆ GetDescription()

TranslatableString EffectFindClipping::GetDescription ( )
overridevirtual

Reimplemented from Effect.

Definition at line 66 of file FindClipping.cpp.

67 {
68  return XO("Creates labels where clipping is detected");
69 }

References XO.

◆ GetSymbol()

ComponentInterfaceSymbol EffectFindClipping::GetSymbol ( )
overridevirtual

Reimplemented from Effect.

Definition at line 61 of file FindClipping.cpp.

62 {
63  return Symbol;
64 }

References Symbol.

◆ GetType()

EffectType EffectFindClipping::GetType ( )
overridevirtual

Type determines how it behaves.

Reimplemented from Effect.

Definition at line 78 of file FindClipping.cpp.

79 {
80  return EffectTypeAnalyze;
81 }

References EffectTypeAnalyze.

◆ ManualPage()

ManualPageID EffectFindClipping::ManualPage ( )
overridevirtual

Name of a page in the Audacity alpha manual, default is empty.

Reimplemented from EffectDefinitionInterface.

Definition at line 71 of file FindClipping.cpp.

72 {
73  return L"Find_Clipping";
74 }

◆ PopulateOrExchange()

void EffectFindClipping::PopulateOrExchange ( ShuttleGui S)
overridevirtual

Reimplemented from Effect.

Definition at line 243 of file FindClipping.cpp.

244 {
245  S.StartMultiColumn(2, wxALIGN_CENTER);
246  {
247  S.Validator<IntegerValidator<int>>(
248  &mStart, NumValidatorStyle::DEFAULT, MIN_Start)
249  .TieTextBox(XXO("&Start threshold (samples):"), mStart, 10);
250 
251  S.Validator<IntegerValidator<int>>(
252  &mStop, NumValidatorStyle::DEFAULT, MIN_Stop)
253  .TieTextBox(XXO("St&op threshold (samples):"), mStop, 10);
254  }
255  S.EndMultiColumn();
256 }

References mStart, mStop, S, and XXO.

Referenced by TransferDataFromWindow(), and TransferDataToWindow().

Here is the caller graph for this function:

◆ Process()

bool EffectFindClipping::Process ( )
overridevirtual

If Process() is not overridden, it uses ProcessInitialize(), ProcessBlock(), and ProcessFinalize() methods of EffectProcessor, and also GetLatency() to determine how many leading output samples to discard and how many extra samples to produce.

Reimplemented from Effect.

Definition at line 111 of file FindClipping.cpp.

112 {
113  std::shared_ptr<AddedAnalysisTrack> addedTrack;
114  std::optional<ModifiedAnalysisTrack> modifiedTrack;
115  const wxString name{ _("Clipping") };
116 
117  auto clt = *inputTracks()->Any< const LabelTrack >().find_if(
118  [&]( const Track *track ){ return track->GetName() == name; } );
119 
120  LabelTrack *lt{};
121  if (!clt)
122  addedTrack = (AddAnalysisTrack(name)), lt = addedTrack->get();
123  else
124  modifiedTrack.emplace(ModifyAnalysisTrack(clt, name)),
125  lt = modifiedTrack->get();
126 
127  int count = 0;
128 
129  // JC: Only process selected tracks.
130  for (auto t : inputTracks()->Selected< const WaveTrack >()) {
131  double trackStart = t->GetStartTime();
132  double trackEnd = t->GetEndTime();
133  double t0 = mT0 < trackStart ? trackStart : mT0;
134  double t1 = mT1 > trackEnd ? trackEnd : mT1;
135 
136  if (t1 > t0) {
137  auto start = t->TimeToLongSamples(t0);
138  auto end = t->TimeToLongSamples(t1);
139  auto len = end - start;
140 
141  if (!ProcessOne(lt, count, t, start, len)) {
142  return false;
143  }
144  }
145 
146  count++;
147  }
148 
149  // No cancellation, so commit the addition of the track.
150  if (addedTrack)
151  addedTrack->Commit();
152  if (modifiedTrack)
153  modifiedTrack->Commit();
154  return true;
155 }

References _, Effect::AddAnalysisTrack(), TrackList::Any(), Effect::AddedAnalysisTrack::Commit(), Effect::AddedAnalysisTrack::get(), Track::GetName(), LabelTrack::GetStartTime(), Effect::inputTracks(), Effect::ModifyAnalysisTrack(), Effect::mT0, Effect::mT1, name, ProcessOne(), and TrackList::Selected().

Here is the call graph for this function:

◆ ProcessOne()

bool EffectFindClipping::ProcessOne ( LabelTrack lt,
int  count,
const WaveTrack wt,
sampleCount  start,
sampleCount  len 
)
private

Definition at line 157 of file FindClipping.cpp.

162 {
163  bool bGoodResult = true;
164  size_t blockSize = (mStart * 1000);
165 
166  if (len < mStart) {
167  return true;
168  }
169 
170  Floats buffer;
171  try {
172  // mStart should be positive.
173  // if we are throwing bad_alloc and mStart is negative, find out why.
174  if (mStart < 0 || (int)blockSize < mStart)
175  // overflow
176  throw std::bad_alloc{};
177  buffer.reinit(blockSize);
178  }
179  catch( const std::bad_alloc & ) {
180  Effect::MessageBox( XO("Requested value exceeds memory capacity.") );
181  return false;
182  }
183 
184  float *ptr = buffer.get();
185 
186  decltype(len) s = 0, startrun = 0, stoprun = 0, samps = 0;
187  decltype(blockSize) block = 0;
188  double startTime = -1.0;
189 
190  while (s < len) {
191  if (block == 0) {
192  if (TrackProgress(count,
193  s.as_double() /
194  len.as_double() )) {
195  bGoodResult = false;
196  break;
197  }
198 
199  block = limitSampleBufferSize( blockSize, len - s );
200 
201  wt->GetFloats(buffer.get(), start + s, block);
202  ptr = buffer.get();
203  }
204 
205  float v = fabs(*ptr++);
206  if (v >= MAX_AUDIO) {
207  if (startrun == 0) {
208  startTime = wt->LongSamplesToTime(start + s);
209  samps = 0;
210  }
211  else {
212  stoprun = 0;
213  }
214  startrun++;
215  samps++;
216  }
217  else {
218  if (startrun >= mStart) {
219  stoprun++;
220  samps++;
221 
222  if (stoprun >= mStop) {
223  lt->AddLabel(SelectedRegion(startTime,
224  wt->LongSamplesToTime(start + s - mStop)),
225  wxString::Format(wxT("%lld of %lld"), startrun.as_long_long(), (samps - mStop).as_long_long()));
226  startrun = 0;
227  stoprun = 0;
228  samps = 0;
229  }
230  }
231  else {
232  startrun = 0;
233  }
234  }
235 
236  s++;
237  block--;
238  }
239 
240  return bGoodResult;
241 }

References LabelTrack::AddLabel(), sampleCount::as_double(), SampleTrack::GetFloats(), limitSampleBufferSize(), SampleTrack::LongSamplesToTime(), MAX_AUDIO, Effect::MessageBox(), mStart, mStop, ArrayOf< X >::reinit(), Effect::TrackProgress(), and XO.

Referenced by Process().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetAutomationParameters()

bool EffectFindClipping::SetAutomationParameters ( CommandParameters parms)
overridevirtual

Change settings to those stored in parms.

Reimplemented from Effect.

Definition at line 98 of file FindClipping.cpp.

99 {
100  ReadAndVerifyInt(Start);
101  ReadAndVerifyInt(Stop);
102 
103  mStart = Start;
104  mStop = Stop;
105 
106  return true;
107 }

References mStart, mStop, and ReadAndVerifyInt.

◆ TransferDataFromWindow()

bool EffectFindClipping::TransferDataFromWindow ( )
overridevirtual

Reimplemented from Effect.

Definition at line 266 of file FindClipping.cpp.

267 {
268  if (!mUIParent->Validate())
269  {
270  return false;
271  }
272 
275 
276  return true;
277 }

References eIsGettingFromDialog, Effect::mUIParent, PopulateOrExchange(), and S.

Here is the call graph for this function:

◆ TransferDataToWindow()

bool EffectFindClipping::TransferDataToWindow ( )
overridevirtual

Reimplemented from Effect.

Definition at line 258 of file FindClipping.cpp.

259 {
262 
263  return true;
264 }

References eIsSettingToDialog, Effect::mUIParent, PopulateOrExchange(), and S.

Here is the call graph for this function:

Member Data Documentation

◆ mStart

int EffectFindClipping::mStart
private

Using int rather than sampleCount because values are only ever small numbers.

Definition at line 59 of file FindClipping.h.

Referenced by DefineParams(), EffectFindClipping(), GetAutomationParameters(), PopulateOrExchange(), ProcessOne(), and SetAutomationParameters().

◆ mStop

int EffectFindClipping::mStop
private

Using int rather than sampleCount because values are only ever small numbers.

Definition at line 60 of file FindClipping.h.

Referenced by DefineParams(), EffectFindClipping(), GetAutomationParameters(), PopulateOrExchange(), ProcessOne(), and SetAutomationParameters().

◆ Symbol

const ComponentInterfaceSymbol EffectFindClipping::Symbol { XO("Find Clipping") }
static

Definition at line 24 of file FindClipping.h.

Referenced by GetSymbol().


The documentation for this class was generated from the following files:
WaveTrack
A Track that contains audio waveform data.
Definition: WaveTrack.h:75
S
#define S(N)
Definition: ToChars.cpp:64
eIsGettingFromDialog
@ eIsGettingFromDialog
Definition: ShuttleGui.h:40
Effect::MessageBox
int MessageBox(const TranslatableString &message, long style=DefaultMessageBoxStyle, const TranslatableString &titleStr={})
Definition: Effect.cpp:2238
Effect::AddedAnalysisTrack::get
LabelTrack * get() const
Definition: Effect.h:351
Track::GetName
wxString GetName() const
Definition: Track.h:423
LabelTrack::GetStartTime
double GetStartTime() const override
Definition: LabelTrack.cpp:329
Effect::mT1
double mT1
Definition: Effect.h:424
ArrayOf::reinit
void reinit(Integral count, bool initialize=false)
Definition: MemoryX.h:57
EffectFindClipping::ProcessOne
bool ProcessOne(LabelTrack *lt, int count, const WaveTrack *wt, sampleCount start, sampleCount len)
Definition: FindClipping.cpp:157
Effect::ModifyAnalysisTrack
ModifiedAnalysisTrack ModifyAnalysisTrack(const LabelTrack *pOrigTrack, const wxString &name=wxString())
Definition: Effect.cpp:1949
XO
#define XO(s)
Definition: Internat.h:31
LabelTrack
A LabelTrack is a Track that holds labels (LabelStruct).
Definition: LabelTrack.h:89
eIsSettingToDialog
@ eIsSettingToDialog
Definition: ShuttleGui.h:41
Effect::AddAnalysisTrack
std::shared_ptr< AddedAnalysisTrack > AddAnalysisTrack(const wxString &name=wxString())
Definition: Effect.cpp:1898
LabelTrack::AddLabel
int AddLabel(const SelectedRegion &region, const wxString &title)
Definition: LabelTrack.cpp:932
ReadAndVerifyInt
#define ReadAndVerifyInt(name)
Definition: Effect.h:591
XXO
#define XXO(s)
Definition: Internat.h:44
Effect::inputTracks
const TrackList * inputTracks() const
Definition: Effect.h:420
Effect::mT0
double mT0
Definition: Effect.h:423
sampleCount::as_double
double as_double() const
Definition: SampleCount.h:45
EffectFindClipping::mStop
int mStop
Using int rather than sampleCount because values are only ever small numbers.
Definition: FindClipping.h:60
SampleTrack::GetFloats
bool GetFloats(float *buffer, sampleCount start, size_t len, fillFormat fill=fillZero, bool mayThrow=true, sampleCount *pNumWithinClips=nullptr) const
Retrieve samples from a track in floating-point format, regardless of the storage format.
Definition: SampleTrack.h:64
name
const TranslatableString name
Definition: Distortion.cpp:98
EffectFindClipping::Symbol
static const ComponentInterfaceSymbol Symbol
Definition: FindClipping.h:24
Track
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:224
Effect::mUIParent
wxWindow * mUIParent
Definition: Effect.h:438
_
#define _(s)
Definition: Internat.h:75
EffectTypeAnalyze
@ EffectTypeAnalyze
Definition: EffectInterface.h:57
TrackList::Any
auto Any() -> TrackIterRange< TrackType >
Definition: Track.h:1379
limitSampleBufferSize
size_t limitSampleBufferSize(size_t bufferSize, sampleCount limit)
Definition: SampleCount.cpp:23
SampleTrack::LongSamplesToTime
double LongSamplesToTime(sampleCount pos) const
Convert correctly between a number of samples and an (absolute) time in seconds.
Definition: SampleTrack.cpp:40
TrackList::Selected
auto Selected() -> TrackIterRange< TrackType >
Definition: Track.h:1396
Effect::TrackProgress
bool TrackProgress(int whichTrack, double frac, const TranslatableString &={})
Definition: Effect.cpp:1788
ArrayOf< float >
MAX_AUDIO
#define MAX_AUDIO
Definition: MemoryX.h:505
EffectFindClipping::mStart
int mStart
Using int rather than sampleCount because values are only ever small numbers.
Definition: FindClipping.h:59
ShuttleGui
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:631
Effect::AddedAnalysisTrack::Commit
void Commit()
Definition: Effect.cpp:1885
SelectedRegion
Defines a selected portion of a project.
Definition: SelectedRegion.h:38
EffectFindClipping::PopulateOrExchange
void PopulateOrExchange(ShuttleGui &S) override
Definition: FindClipping.cpp:243