Type Definition projectm_rs::projectm_settings
source · [−]pub type projectm_settings = projectm_settings_s;
Expand description
@brief projectM instance settings.
Use this struct to provide settings for projectM, for example if your application handles projectM configuration internally instead of using the default configuration file.
Always allocate the struct using the projectm_alloc_settings() and free it with the projectm_free_settings() function.
To allocate memory for char* members, always use projectm_alloc_string(). If any pointer is not NULL, projectm_free_settings() will automatically call projectm_free_string() on it. If you free it on your own, remember to reset the pointer to NULL after doing so!