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

[raudio] Volume, Pan and Pitch getters #3960

Closed
wants to merge 2 commits into from

Conversation

LeandroSQ
Copy link

Following the current methods to set Volume, Pan and Pitch this pull request implements a getter for the same properties.

@raysan5
Copy link
Owner

raysan5 commented May 5, 2024

@LeandroSQ I'm afraid I'm not merging this PR, despite following the academic styling of get/set pair. It's up to the user to manage the values they set, so getters shouldn't be needed.

@raysan5 raysan5 closed this May 5, 2024
@LeandroSQ
Copy link
Author

LeandroSQ commented May 6, 2024

I understand your point,
I just thought that since we have this pattern on master volume, the same style could be applied on audio streams for symmetry.
Just like #3434

Thank you once more for this amazing work!

@raysan5
Copy link
Owner

raysan5 commented May 6, 2024

@LeandroSQ I could have added that function for some very specific use case but in general I try to avoid adding new functions that can be managed from user side.

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