Workbench Library
0.1b
|
Defines the structure for configuration settings. More...
#include <workbench.h>
Data Fields | |
AudioCallback | audio_callback |
MidiCallback | midi_callback |
void * | user_data |
Defines the structure for configuration settings.
The Config
structure holds all configuration settings for the application, including audio and MIDI parameters. The structure is generated by expanding the CONFIG
macro with the WORKBENCH_CONFIG_DEFINE_STRUCT
macro to declare each field.
Fields include settings for:
Example usage:
AudioCallback Config::audio_callback |
Audio callback function pointer
MidiCallback Config::midi_callback |
MIDI callback function pointer
void* Config::user_data |
Pointer to a custom user data passed to callbacks