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

Add alias pygame.Sound #3063

Merged
merged 6 commits into from
Aug 27, 2024
Merged

Add alias pygame.Sound #3063

merged 6 commits into from
Aug 27, 2024

Conversation

damusss
Copy link
Member

@damusss damusss commented Aug 18, 2024

It has been enough time for the Sound class to get its alias!
I don't recall the last time I used a Channel object but somehow that has the alias and not Sound, which is more common.

I also slightly changed the examples to use the alias, if you prefer how it was previously just say so and I'll revert at the speed of light.

@damusss damusss added the mixer pygame.mixer label Aug 18, 2024
@damusss damusss requested a review from a team as a code owner August 18, 2024 19:39
@Starbuck5
Copy link
Member

I think it would be good to hold off on examples and usage changes for now, since the docs go up to the website before the next release. And people sometimes open issues when examples fail to run on the latest release version (as they should).

@damusss
Copy link
Member Author

damusss commented Aug 19, 2024

I think it would be good to hold off on examples and usage changes for now, since the docs go up to the website before the next release. And people sometimes open issues when examples fail to run on the latest release version (as they should).

I didn't think about that! reverted :) (this will probably have to be squashed for merging because reverting took me 4 commits for no reason)

Copy link
Member

@ankith26 ankith26 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the PR 👍

@ankith26 ankith26 added this to the 2.5.2 milestone Aug 20, 2024
Copy link
Contributor

@bilhox bilhox left a comment

Choose a reason for hiding this comment

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

LGTM, this will be a good feature!

@bilhox bilhox merged commit e01a44e into pygame-community:main Aug 27, 2024
25 checks passed
@damusss damusss deleted the pygame.Sound branch August 28, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mixer pygame.mixer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants