28b87d316a
Clang Lint CI / lint-no-video (push) Successful in 59s
Clang Build CI / run-no-video (push) Successful in 59s
Clang Build CI / run-video (push) Successful in 59s
Clang Build CI / build-release (push) Successful in 1m31s
Clang Lint CI / lint-video (push) Successful in 1m7s
24 lines
773 B
C
24 lines
773 B
C
#include "types.h"
|
|
|
|
#ifndef STATE_H
|
|
#define STATE_H
|
|
|
|
void state_parse_config(StateConfig *state_config, const ConfigFile *config);
|
|
|
|
void state_midi_event(Context *context, StateConfig state_config,
|
|
MidiDevice midi, unsigned char code,
|
|
unsigned char value, bool trace_midi);
|
|
|
|
void state_key_event(Context *context, StateConfig state_config,
|
|
unsigned int code, MidiDevice midi);
|
|
|
|
void *state_background_write(void *args);
|
|
|
|
void state_init(Context *context, StateConfig state_config, bool demo,
|
|
bool auto_random, unsigned int auto_random_cycles,
|
|
unsigned int base_tempo, bool load_state);
|
|
|
|
void state_save(const Context *context, StateConfig state_config);
|
|
|
|
#endif /* STATE_H */
|