1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 17:41:13 +02:00

DoPlayStopSelect into ProjectAudioManager; remove button push-down...

... which was redundant with what happens in the yield to idle events in
ProjectAudioManager::Stop.

This removes direct dependency of ProjectAudioManager on ControlToolBar.

And remove another #include we don't need
This commit is contained in:
Paul Licameli
2019-07-03 16:56:23 -04:00
parent ca8740b510
commit b6cd9a2b36
4 changed files with 15 additions and 28 deletions

View File

@@ -110,6 +110,9 @@ public:
void StopIfPaused();
bool DoPlayStopSelect( bool click, bool shift );
void DoPlayStopSelect( );
PlayMode GetLastPlayMode() const { return mLastPlayMode; }
private:
@@ -163,10 +166,4 @@ AudioIOStartStreamOptions DefaultSpeedPlayOptions( AudacityProject &project );
extern const ReservedCommandFlag
CanStopAudioStreamFlag;
/// Namespace for functions for Transport menu
namespace TransportActions {
bool DoPlayStopSelect( AudacityProject &project, bool click, bool shift );
void DoPlayStopSelect( AudacityProject &project );
}
#endif