1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-02 15:13:50 +01:00
Files
audacity/src/TrackUtilities.h
Panagiotis Vasilopoulos 44968d3ac3 Rebranding: Replace 'Audacity: A Digital Audio Editor' in source files (#248)
List of commands that were executed in the `src directory`:
* sed -i 's/Audacity: A Digital Audio Editor/Tenacity/g' *.h
* sed -i 's/Audacity: A Digital Audio Editor/Tenacity/g' *.cpp

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-07-13 09:30:42 +00:00

40 lines
1.2 KiB
C++

/**********************************************************************
Tenacity
TrackUtilities.h
Paul Licameli split from TrackMenus.h
**********************************************************************/
#ifndef __AUDACITY_TRACK_UTILITIES__
#define __AUDACITY_TRACK_UTILITIES__
class AudacityProject;
class Track;
namespace TrackUtilities {
enum MoveChoice {
OnMoveUpID, OnMoveDownID, OnMoveTopID, OnMoveBottomID
};
/// Move a track up, down, to top or to bottom.
AUDACITY_DLL_API void DoMoveTrack(
AudacityProject &project, Track* target, MoveChoice choice );
// "exclusive" mute means mute the chosen track and unmute all others.
AUDACITY_DLL_API
void DoTrackMute( AudacityProject &project, Track *pTrack, bool exclusive );
// Type of solo (standard or simple) follows the set preference, unless
// exclusive == true, which causes the opposite behavior.
AUDACITY_DLL_API
void DoTrackSolo( AudacityProject &project, Track *pTrack, bool exclusive );
AUDACITY_DLL_API
void DoRemoveTrack( AudacityProject &project, Track * toRemove );
AUDACITY_DLL_API
void DoRemoveTracks( AudacityProject & );
}
#endif