Audio Buffer Size...Multiple of 8- Error Message
-
@Christoph-Hart, I just discovered the error message you implemented regarding the buffer size. However, there is no way to change it in the standalone app as the message completely takes over the GUI.
Please see the screenshot.
A fix is to go into the AppData and delete the DeviceSettings.xml. But, this is not something end-users will be aware of and will cause them frustration and subsequent customer support.
This message should appear in a popup that we can close, wouldn't you agree?
-
@gorangrooves The solution is here : https://forum.hise.audio/topic/5833/hise-compatibility-with-windows-11-and-cubase-12/97?_=1669915471698
Add
HISE_COMPLAIN_ABOUT_ILLEGAL_BUFFER_SIZE=0
to your plugin's extra definitions. -
@Matt_SF Thanks, but that's not really a solution. The error message is quite important, and I wouldn't want to remove it.
What we need is to be able to close the message so that a user can make a change to their audio settings.
-
@gorangrooves ah I see, you have a point there... But I for myself, chose the other philosophy : if someone wants to use a buffer size of 441, who am I to judge?
-
@Matt_SF Unfortunately, those weird (441) buffer settings will throw an error and not allow a user to select a driver without them knowing why.
I don't think anybody selects those weird values on purpose. Some drivers have sliders (such as ASIO4ALL), as opposed pre-set values. So, users adjusting the buffer size can easily end up with weird values.
Having this message provides great feedback, but unfortunately doesn't currently allow a user to actually make the change.
-
@gorangrooves But the Hise options only allow buffers of a multiple of 8 so it would seem that the issue is with the audio drivers which you control outside of Hise / your standalone app... right?
-
I fixed this recently so now it should cope with any buffer size you throw at it (with a slight performance hit at weird buffer sizes).
You can safely deactivate the macro.
-
@Christoph-Hart that's why I understood on the other thread.
@gorangrooves yes I get it. I know that if the user uses the Generic Low Latency ASIO Driver, he can only choose between a "small / medium / large" buffer size... -
@Christoph-Hart Good to know. Thank you. I guess I'll leave that for a future plugin update.
-
@Christoph-Hart how do I disable the macro please?
I am getting this error on Mac AU format but not with other formats - Mac VST works ok as does Windows VST. Is there a reason that I am only getting it on the Mac AU format and not the rest?
-
@rzrsharpeprod said in Audio Buffer Size...Multiple of 8- Error Message:
@Christoph-Hart how do I disable the macro please?
I am getting this error on Mac AU format but not with other formats - Mac VST works ok as does Windows VST. Is there a reason that I am only getting it on the Mac AU format and not the rest?
Sorry to reply to my own post, but do I need to rebuild hise in order to turn this off or is there a way to turn it off in the compiled version I'm already running?
Thanks in advance
-
@rzrsharpeprod You don't need to rebuild HISE, just put the
HISE_COMPLAIN_ABOUT_ILLEGAL_BUFFER_SIZE=0
flag in the Pre processor definitions in the project preferences -
@Soundavid Excellent. That worked perfectly - thankyou
Much appreciated