chiark / gitweb /
uaudio gains a new 'configure' method, which imposes the audio API's
[disorder] / server / speaker.c
index 6a212dd6230cf3e78ecdaaaa8c865bac792a1527..9b16cc8e2410eed1a2c74230d270b01cc7477edd 100644 (file)
@@ -662,6 +662,8 @@ int main(int argc, char **argv) {
   /* TODO other parameters! */
   backend = uaudio_find(config->api);
   /* backend-specific initialization */
+  if(backend->configure)
+    backend->configure();
   backend->start(speaker_callback, NULL);
   /* create the socket directory */
   byte_xasprintf(&dir, "%s/speaker", config->home);