1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

Bug1342: Loop-play (and other things) before scrub (and other things)...

... should not disable auto-scrolling of the window during playback.
This commit is contained in:
Paul Licameli
2016-04-18 17:50:17 -04:00
parent a3a5a243c2
commit d5915491b3
10 changed files with 37 additions and 41 deletions

View File

@@ -117,10 +117,10 @@ extern AProjectArray gAudacityProjects;
WX_DEFINE_ARRAY(wxMenu *, MenuArray);
enum PlayMode {
enum class PlayMode : int {
normalPlay,
oneSecondPlay,
loopedPlay
oneSecondPlay, // Disables auto-scrolling
loopedPlay // Disables auto-scrolling
};
enum StatusBarField {
@@ -494,7 +494,7 @@ public:
void WriteXMLHeader(XMLWriter &xmlFile);
PlayMode mLastPlayMode{ normalPlay };
PlayMode mLastPlayMode{ PlayMode::normalPlay };
ViewInfo mViewInfo;
// Audio IO callback methods