chiark / gitweb /
configure.ac, lib/mem.c: Compatibility with older versions of libgc.
[disorder] / disobedience / disobedience.c
index 639eb73c2e74efba3e67a618177ba8740cb2ef52..564335c7916cc2cb6fb85de0745e2828dba8475f 100644 (file)
@@ -538,7 +538,7 @@ int main(int argc, char **argv) {
   mainloop = g_main_loop_new(0, 0);
   if(config_read(0, NULL)) disorder_fatal(0, "cannot read configuration");
   /* we'll need mixer support */
-  backend = uaudio_apis[0];
+  backend = uaudio_default(uaudio_apis, UAUDIO_API_CLIENT);
   if(backend->configure)
     backend->configure();
   if(backend->open_mixer)
@@ -569,6 +569,7 @@ int main(int argc, char **argv) {
   event_register("log-connected", check_rtp_address, 0);
   suppress_actions = 0;
   playlists_init();
+  globals_init();
   /* If no password is set yet pop up a login box */
   if(!config->password)
     login_box();