No, you are not meant to change the members of context
. In fact they are const
.
The simplest way is to use the dedicated command-line options. Just run the program with --help
to see what options are available.
There is also a way of changing the program's default values by defining a function void Bela_userSettings (BelaInitSettings* settings)
, where you can set the user settings
. These are overridden by the command-line options. See here for documentation on the function, here for documentation on the fields available inBelaInitSettings
, and here for a usage example.