Merge with git+ssh://sgc@fondialog1.hum.uva.nl/fro/git/sgc.git
[sgc.git] / singleword / config.c
blobc2897d3065f0177d719ef9d130daf1837d3b0407
1 #include "singleword.h"
3 gdouble upperRegister = 200;
5 void configOpen() {
6 GKeyFile *config = g_key_file_new();
7 if (g_key_file_load_from_file(config, CONFIGFILE, G_KEY_FILE_NONE, NULL)) {
8 upperRegister = g_key_file_get_double(config, "voice", "upperregister", NULL);
10 if (upperRegister <= 0.0) upperRegister = 200.0;
12 g_key_file_free(config);