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

stringFromValue function in AudioParameterFloat constructor incompatible with AudioUnit #5

Open
KevinToodlepoot opened this issue Mar 25, 2024 · 2 comments

Comments

@KevinToodlepoot
Copy link

AudioUnit (and AAX/RTAS maybe?) won't pass in a "maximumStringLength" value when stringFromValue() is called, resulting in the function returning an empty string.

The solution I have used at the moment is to just delete the .substring() call from the return statement, and to not use the maximumStringLength variable at all.

@ncblair
Copy link
Owner

ncblair commented Mar 28, 2024

woah thanks good to know. I'll push a fix.

@KevinToodlepoot
Copy link
Author

No problem! Love the template!

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

No branches or pull requests

2 participants