add RP500 compressor and amp settings

This commit is contained in:
Tomasz Moń
2009-04-12 18:36:41 +02:00
parent 12c2ccc87f
commit c964d38c17
7 changed files with 286 additions and 42 deletions

12
gdigi.c
View File

@@ -566,9 +566,15 @@ int main(int argc, char *argv[]) {
if (request_who_am_i(&device_id, &family_id, &product_id) == FALSE) {
show_error_message(NULL, "No suitable reply from device");
} else {
gui_create();
gtk_main();
gui_free();
EffectList *list;
int n_list;
if (get_effect_list(device_id, family_id, product_id, &list, &n_list) == FALSE) {
show_error_message(NULL, "Unsupported hardware. Please check HACKING file.");
} else {
gui_create(list, n_list);
gtk_main();
gui_free();
}
}
}