librespot-org / librespot

Open Source Spotify client library
MIT License
4.48k stars 542 forks source link

Make audio fetch parameters tunable #1234

Closed lelloman closed 6 months ago

lelloman commented 6 months ago

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 commented 6 months ago

This is to follow up on issue #1231

roderickvd commented 6 months ago

Thanks!