mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-26 09:28:07 +02:00
Remove some unnecessary declarations in class AudacityProject
This commit is contained in:
parent
390af96796
commit
e227d4dfb1
@ -670,13 +670,6 @@ private:
|
|||||||
void SetTimerRecordCancelled(){mTimerRecordCanceled=true;}
|
void SetTimerRecordCancelled(){mTimerRecordCanceled=true;}
|
||||||
void ResetTimerRecordCancelled(){mTimerRecordCanceled=false;}
|
void ResetTimerRecordCancelled(){mTimerRecordCanceled=false;}
|
||||||
|
|
||||||
//sort method used by OnSortName and OnSortTime
|
|
||||||
//currently only supported flags are kAudacitySortByName and kAudacitySortByName
|
|
||||||
//in the future we might have 0x01 as sort ascending and we can bit or it
|
|
||||||
#define kAudacitySortByTime (1 << 1)
|
|
||||||
#define kAudacitySortByName (1 << 2)
|
|
||||||
void SortTracks(int flags);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int mAudioIOToken{ -1 };
|
int mAudioIOToken{ -1 };
|
||||||
|
|
||||||
@ -741,9 +734,6 @@ private:
|
|||||||
// See explanation in OnCloseWindow
|
// See explanation in OnCloseWindow
|
||||||
bool mIsBeingDeleted{ false };
|
bool mIsBeingDeleted{ false };
|
||||||
|
|
||||||
// CommandManager needs to use private methods
|
|
||||||
friend class CommandManager;
|
|
||||||
|
|
||||||
// TrackPanelOverlay objects
|
// TrackPanelOverlay objects
|
||||||
std::shared_ptr<Overlay>
|
std::shared_ptr<Overlay>
|
||||||
mIndicatorOverlay, mCursorOverlay;
|
mIndicatorOverlay, mCursorOverlay;
|
||||||
|
@ -440,6 +440,11 @@ long mixer_process(void *mixer, float **buffer, long n)
|
|||||||
|
|
||||||
#endif // EXPERIMENTAL_SCOREALIGN
|
#endif // EXPERIMENTAL_SCOREALIGN
|
||||||
|
|
||||||
|
enum{
|
||||||
|
kAudacitySortByTime = (1 << 1),
|
||||||
|
kAudacitySortByName = (1 << 2),
|
||||||
|
};
|
||||||
|
|
||||||
//sort based on flags. see Project.h for sort flags
|
//sort based on flags. see Project.h for sort flags
|
||||||
void DoSortTracks( AudacityProject &project, int flags )
|
void DoSortTracks( AudacityProject &project, int flags )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user