static char host_addr_buffer[128]="g0orx.ddns.net";
char *host_addr = &host_addr_buffer[0];
GtkWidget *host_port_spinner;
-gint host_port=45000;
+gint host_port=50000; // default listening port
#endif
//
return NO_ACTION;
}
-int MIDIstartup(char *filename) {
+int ReadLegacyMidiFile(char *filename) {
FILE *fpin;
char zeile[255];
char *cp,*cq;
if(res==GTK_RESPONSE_ACCEPT) {
char *loadfilename=gtk_file_chooser_get_filename(chooser);
clear_cb(NULL,NULL);
- MIDIstartup(loadfilename);
- g_free(loadfilename);
+ ReadLegacyMidiFile(loadfilename);
load_store();
+ g_free(loadfilename);
}
gtk_widget_destroy(load_dialog);
}