Skip to content

Issue2149 Fix play-at-speed button - #2288

Merged
Paul-Licameli merged 6 commits into
audacity:release-3.1.3from
Paul-Licameli:Issue2149
Dec 17, 2021
Merged

Paul-Licameli merged 6 commits into
audacity:release-3.1.3from
Paul-Licameli:Issue2149

Conversation

@Paul-Licameli

@Paul-Licameli Paul-Licameli commented Dec 15, 2021 •

Copy link
Copy Markdown
Collaborator

Resolves: #2149

Issue2149: Play-at-speed button will work again, when Shift (once-only play) not pressed....

... But now it must also respect loop play bounds and changes of bounds.

This requires total reimplementation of how it works, without reuse of scrubbing code.

The case of Shift + Click needs an additional fix, to come.

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

@Paul-Licameli
Paul-Licameli requested a review from crsib December 15, 2021 13:01
@Paul-Licameli Paul-Licameli changed the title Issue2149 Issue2149 Fix play-at-speed button Dec 15, 2021

@crsib crsib left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first part looks good!

@Paul-Licameli
Paul-Licameli requested a review from crsib December 16, 2021 10:14
@Paul-Licameli

Copy link
Copy Markdown
Collaborator Author

Two more commits.

But -- now I find that the case of Shift + Click on the button is still not right.

So one more to come.

crsib
crsib previously approved these changes Dec 16, 2021

@crsib crsib left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still good, but looks like there is a conflict now

@Paul-Licameli
Paul-Licameli changed the base branch from master to release-3.1.3 December 16, 2021 20:47
@Paul-Licameli
Paul-Licameli dismissed crsib’s stale review December 16, 2021 20:47

The base branch was changed.

@Paul-Licameli

Copy link
Copy Markdown
Collaborator Author

Still good, but looks like there is a conflict now

There was a conflict because the base branch was master not release. It wasn't real.

... Inheriting wxEvtHandler is an easy way to make un-binding in its destructor
automatic.
... This commit temporarily makes all play-at-speed not work.

Good riddance to a lot of code duplication in Scrubbing.cpp.
... Reduce the latency value in suggested buffer times to be as short as for
scrubbing

And be sure the play head line updates correctly for variable speed; must not
use any envelope from TranscriptionToolBar
@Paul-Licameli
Paul-Licameli merged commit 83cf13c into audacity:release-3.1.3 Dec 17, 2021
@Paul-Licameli
Paul-Licameli deleted the Issue2149 branch December 17, 2021 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Play-at-Speed has reverted to being non-dynamic

2 participants