-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve feedback stretch markers #1150
base: master
Are you sure you want to change the base?
Improve feedback stretch markers #1150
Conversation
…uring playback is enabled
Build succeeded! Build osara pr1150-1596,0756ccb0 completed (commit 0756ccb013 by @ScottChesworth) |
} | ||
int oldCount = 0; | ||
for (int i = 0; i < itemCount; ++i) { | ||
MediaItem* item = GetSelectedMediaItem(nullptr, i); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to clarify, these commands definitely insert stretch markers across all selected items? I guess that makes sense and we just never supported this properly, but I just wanted to check.
} | ||
} else { | ||
// Translators: Reported when one or more stretch markers are removed. {} will be replaced by the number of stretch markers, EG "2 stretch markers removed". | ||
outputMessage(format( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it intentional that we respect shouldReportTimeMovement for addition, but not removal? I guess I kinda get this - you might well add them while playing, but you're less likely to remove them while playing, since you have to move to the marker first anyway - but I wanted to check because it does feel asymmetric.
@@ -4273,6 +4303,7 @@ void cmdRemoveFocus(Command* command) { | |||
cmdhRemoveItems(40006); // Item: Remove items | |||
break; | |||
case FOCUS_MARKER: | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extraneous blank line.
@@ -4282,7 +4313,7 @@ void cmdRemoveFocus(Command* command) { | |||
cmdDeleteTimeSig(nullptr); | |||
break; | |||
case FOCUS_STRETCH: | |||
cmdRemoveStretch(nullptr); | |||
cmdhAddOrRemoveStretch(41859); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please comment this command id.
{MAIN_SECTION, {{0, 0, 41859}, nullptr}, nullptr, cmdRemoveStretch}, // Item: remove stretch marker at current position | ||
{MAIN_SECTION, {{0, 0, 41842}, nullptr}, nullptr, cmdAddOrRemoveStretch}, // Item: Add stretch marker at cursor | ||
{MAIN_SECTION, {{0, 0, 41859}, nullptr}, nullptr, cmdAddOrRemoveStretch}, // Item: remove stretch marker at current position | ||
{MAIN_SECTION, {{0, 0, 41844}, nullptr}, nullptr, cmdAddOrRemoveStretch}, // Item: Remove all stretch markers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do either of these need a readme update?
Make OSARA report the addition of stretch markers when Report time movement during playback/recording is enabled in Config. Requested on RWP.