1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-26 14:41:14 +01:00

Move AudacityProject::DoTrackMute and DoTrackSolo...

... also fixed the bug that muting and soloing from the mixer board did not
update accessibility.
This commit is contained in:
Paul Licameli
2018-10-27 20:32:58 -04:00
parent 51c3541716
commit 50f8579475
6 changed files with 116 additions and 123 deletions

View File

@@ -140,6 +140,11 @@ namespace TrackActions {
};
/// Move a track up, down, to top or to bottom.
void DoMoveTrack( AudacityProject &project, Track* target, MoveChoice choice );
// "exclusive" mute means mute the chosen track and unmute all others.
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.
void DoTrackSolo( AudacityProject &project, Track *pTrack, bool exclusive );
void DoRemoveTrack( AudacityProject &project, Track * toRemove );
void DoRemoveTracks( AudacityProject & );
}