3#ifndef PRINTLINES_ALLOWED
4#define PRINTLINES_ALLOWED 0
7static const char *FNAME =
"kest_state.c";
9#ifdef KEST_USE_FREERTOS
10SemaphoreHandle_t state_mutex;
88 KEST_PRINTF(
"kest_state_representation_update done\n");
int kest_cxt_set_output_gain(kest_context *cxt, float gain)
int kest_cxt_release_mutex(kest_context *cxt)
int kest_cxt_obtain_mutex(kest_context *cxt)
int set_active_profile_from_sequence(kest_profile *profile)
int kest_cxt_set_input_gain(kest_context *cxt, float gain)
kest_profile * cxt_get_profile_by_fname(kest_context *cxt, const char *fname)
#define ERR_MUTEX_UNAVAILABLE
int safe_file_write(int(*write_func)(void *arg, const char *fname), void *arg, const char *fname)
int save_state_to_file(kest_state *state, const char *fname)
#define KEST_FILENAME_LEN
kest_ui_page * kest_page_id_find_page(kest_context *cxt, kest_page_identifier id)
int kest_ui_page_create_identifier(kest_ui_page *page, kest_page_identifier *id)
void kest_state_representation_update(void *representer, void *representee)
int kest_cxt_clone_state(kest_context *cxt, kest_state *state)
int kest_cxt_restore_state(kest_context *cxt, kest_state *state)
int kest_cxt_enter_previous_current_page(kest_context *cxt, kest_state *state)
int enter_ui_page(kest_ui_page *page)
kest_parameter input_gain
kest_parameter output_gain
kest_profile * active_profile
char fname[KEST_FILENAME_LEN]
char fname[KEST_FILENAME_LEN]
kest_page_identifier current_page
char active_profile_fname[32]
char active_sequence_fname[32]