chiark / gitweb /
Disobedience now configures its sound device correctly.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 2 Aug 2009 15:14:17 +0000 (16:14 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 2 Aug 2009 15:14:17 +0000 (16:14 +0100)
Patch from Ross Younger.

disobedience/disobedience.c

index a4e9d20773f0d1e4ce4649a7713fd9a06d41e54c..5062747003865c35b8a94163fd8bfb2292e8c961 100644 (file)
@@ -463,6 +463,8 @@ int main(int argc, char **argv) {
   if(config_read(0, NULL)) fatal(0, "cannot read configuration");
   /* we'll need mixer support */
   backend = uaudio_apis[0];
+  if(backend->configure)
+    backend->configure();
   if(backend->open_mixer)
     backend->open_mixer();
   /* create the clients */