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

Make audio fetch parameters tunable #1234

Merged

Conversation

lelloman
Copy link
Contributor

This change collects all those audio fetch parameters that were defined as static constants into a dedicated struct, AudioFetchParams. This struct can be read and set statically, allowing a user of the library to modify those parameters without the need to recompile.

@lelloman
Copy link
Contributor Author

This is to follow up on issue #1231

Copy link
Member

@roderickvd roderickvd left a comment

Choose a reason for hiding this comment

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

Thanks! Small typo.

audio/src/fetch/mod.rs Outdated Show resolved Hide resolved
This change collects all those audio fetch parameters that were defined as
static constants into a dedicated struct, AudioFetchParams.
This struct can be read and set statically, allowing a user of the library to
modify those parameters without the need to recompile.
@lelloman lelloman force-pushed the lelloman/tunable-audio-fetch-params branch from b30343e to e175a88 Compare December 20, 2023 21:07
@lelloman lelloman requested a review from roderickvd December 20, 2023 21:08
@roderickvd roderickvd merged commit ccd1a72 into librespot-org:dev Dec 24, 2023
9 checks passed
@roderickvd
Copy link
Member

Thanks!

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