Audacity 3.2.0
TrackUtilities.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 TrackUtilities.h
6
7 Paul Licameli split from TrackMenus.h
8
9 **********************************************************************/
10
11#ifndef __AUDACITY_TRACK_UTILITIES__
12#define __AUDACITY_TRACK_UTILITIES__
13
14class AudacityProject;
15class Track;
16
17namespace TrackUtilities {
18
21 };
23 AUDACITY_DLL_API void DoMoveTrack(
24 AudacityProject &project, Track* target, MoveChoice choice );
25 // "exclusive" mute means mute the chosen track and unmute all others.
26 AUDACITY_DLL_API
27 void DoTrackMute( AudacityProject &project, Track *pTrack, bool exclusive );
28 // Type of solo (standard or simple) follows the set preference, unless
29 // exclusive == true, which causes the opposite behavior.
30 AUDACITY_DLL_API
31 void DoTrackSolo( AudacityProject &project, Track *pTrack, bool exclusive );
32 AUDACITY_DLL_API
33 void DoRemoveTrack( AudacityProject &project, Track * toRemove );
34 AUDACITY_DLL_API
36
37}
38
39#endif
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:122
void DoTrackMute(AudacityProject &project, Track *t, bool exclusive)
void DoMoveTrack(AudacityProject &project, Track *target, MoveChoice choice)
Move a track up, down, to top or to bottom.
void DoTrackSolo(AudacityProject &project, Track *t, bool exclusive)
void DoRemoveTrack(AudacityProject &project, Track *toRemove)
void DoRemoveTracks(AudacityProject &project)