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

Change AudioHandle::Config to an aggregate type #613

Merged

Conversation

stellar-aria
Copy link
Contributor

This changes AudioHandle::Config to be an aggregate type, maintaining the default values but replacing the explicit constructor.

This allows for aggregate initialization in addition to the standard constructor. Usage of the standard (default) constructor is still possible, with the same parameter ordering.

No changes to current code are required.

@stellar-aria stellar-aria force-pushed the feature/audio_config_as_aggregate branch from 0ddbafb to f9d9548 Compare February 21, 2024 20:18
@beserge
Copy link
Contributor

beserge commented Feb 21, 2024

Looks great! Thanks again for the contribution 👍

@beserge beserge merged commit 77cc624 into electro-smith:master Feb 21, 2024
4 checks passed
@stellar-aria stellar-aria deleted the feature/audio_config_as_aggregate branch February 21, 2024 21:16
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