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

Allowing user to load plugin with given sample rate and max block size #400

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edwillys
Copy link

Problem

This fixes issue #399. Some plugins require the sample rate to the established already at init, where they perform sanity checks. To allow for more flexibility and for the sake of consistency, we can do the same for the block size.

Solution

Add sample_rate and maximum_block_size as optional input arguments to load_plugin(). The default values are kept to the ones that were previously hardcoded.

Problem

This fixes issue spotify#399. Some plugins require the sample rate to the
established already at init, where they perform sanity checks.
To allow for more flexibility and for the sake of consistency, we
can do the same for the block size.

Solution

Add sample_rate and maximum_block_size as optional input arguments
to load_plugin(). The default values are kept to the ones that were
previously hardcoded.
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