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:
@@ -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
|
||||
|
Reference in New Issue
Block a user