-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Allow SampleTCOs/Sample Clips to be reversed #5765
Conversation
🤖 Hey, I'm @LmmsBot from github.com/lmms/bot and I made downloads for this pull request, click me to make them magically appear! 🎩
Linux
Windows
macOS🤖{"platform_name_to_artifacts": {"Linux": [{"artifact": {"title": {"title": "(AppImage)", "platform_name": "Linux"}, "link": {"link": "https://10585-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.27%2Bgdb6e492-linux-x86_64.AppImage"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10585?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}], "Windows": [{"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://10589-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.27%2Bgdb6e492c8-mingw-win32.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10589?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://10588-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.27%2Bgdb6e492c8-mingw-win64.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10588?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/991n29sv8hsetemv/artifacts/build/lmms-1.3.0-alpha-msvc2017-win32.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/36415516"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/4wwh9nmcp15wn1od/artifacts/build/lmms-1.3.0-alpha-msvc2017-win64.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/36415516"}], "macOS": [{"artifact": {"title": {"title": "", "platform_name": "macOS"}, "link": {"link": "https://10587-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.27%2Bgdb6e492c8-mac10.13.dmg"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10587?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}]}, "commit_sha": "66091b3c84526beb84152dcfac98b66d7b7e7dd7"} |
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.
Overall it LGTM. I've wrote a suggestion regarding the drawing for
loop, an idea to fix the issue with calling reverseSample
while loading the project (which has to be studied first) and some code style convention notes. Didn't explicitly request the changes because they are mostly suggestions not requests and I'd like to hear others opinions on them.
Hey, since I have changed some other code in In general, if anybody wants to test, you can try these and check for stability:
Also want to point out that I was preferably looking for either a new icon, however if that's not possible, I can probably use the "loop" icon. |
I also didn't get to read the whole methods you refactored ( I'll try to test the build soon |
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.
Code LGTM!
Just a note for other reviewers, I know that some small details of the code style isn't 100% fixed (@russiankumar did a great job improving it, but SampleBuffer.cpp
has quite a lot of stuff to be fixed), but I'm working locally on a small refactor for this file which should fix the remaining issues. It's basically ready (need to double check), I'm just waiting for this one to be merged so I can fix the conflicts.
@Veratil I've made the requested changes. |
@Veratil now maybe? 😂 |
Build error seems time-related, and all other are passing. Merging. |
Fixes conflicts introduced by LMMS#5765.
Enable the reverse option from `SampleBuffer.cpp`, and partially change the style and make more readable `SampleBuffer.cpp`.
Enable the reverse option from `SampleBuffer.cpp`, and partially change the style and make more readable `SampleBuffer.cpp`.
There was a reverse option in
SampleBuffer
, so I decided to implement it so that it can actually be used.Progress tracker:
flip_x
pixmap found in automation editor)Pretty minor feature,
so I think it won't be much of a nuisance, considering it's practically complete at the time of writing.I should not have said that.