1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-13 08:06:32 +01:00

Spectral Editing: Using subroutines to shorten code, and more comments in the code.

This commit is contained in:
james.k.crook@gmail.com
2014-10-18 16:01:50 +00:00
parent 4a3fc8f9ec
commit a6f9f6bc58
4 changed files with 107 additions and 54 deletions

View File

@@ -558,7 +558,7 @@ protected:
double mSelStart;
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
enum {
enum eFreqSelMode {
FREQ_SEL_INVALID,
FREQ_SEL_SNAPPING_CENTER,
FREQ_SEL_TOP_FREE,
@@ -570,6 +570,9 @@ protected:
double mFreqSelCenter; // Used when dragging the width about fixed center
const WaveTrack *mFreqSelTrack;
std::auto_ptr<SpectrumAnalyst> mFrequencySnapper;
bool TrackPanel::MayAdjustBoundary( eFreqSelMode SelMode, wxCoord y, const wxRect & r,
const WaveTrack* wt, bool logF);
#endif
Track *mCapturedTrack;