Skip to content
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

Remove deprecated code in GigPlayer #7540

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaelgregorius
Copy link
Contributor

Use CountInstruments and GetInstrument instead of the deprecated methods GetFirstInstrument and GetNextInstrument.

Use CountRegions and GetRegionAt instead of the deprecated GetFirstRegion and GetNextRegion.

Both changes turn while loops into for loops.

Use `CountInstruments` and `GetInstrument` instead of the deprecated
methods `GetFirstInstrument` and `GetNextInstrument`.

Use `CountRegions` and `GetRegionAt` instead of the deprecated
`GetFirstRegion` and `GetNextRegion`.

Both changes turn `while` loops into `for` loops.
@michaelgregorius
Copy link
Contributor Author

Ok, now I have found out why this was never fixed. It looks like the Linux and mingw builds use older versions of libgig.

@Rossmaxx
Copy link
Contributor

In #7162, similar deprecations are fixed using a temporary method, which i believe would suit this PR too. But that PR happens to have gone stale as the original author left. I did take over that one but stopped using windows since. I will get around to completing it but can't tell when.

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.

2 participants