fix hang at exit (after freewheeling) with PA-nonblocking backend
[ardour.git] / libs / backends / wscript
index 1a0906f0d11842d9978fbf836dafbdd835b83136..833d831e27670d7abf368846941974c6bb665cd6 100644 (file)
@@ -9,33 +9,6 @@ import re
 top = '.'
 out = 'build'
 
-def backend_list():
-    if Options.options.program_name == 'Ardour':
-        # Ardour
-        backends = [ 'jack' ]
-
-        if Options.options.build_dummy: 
-            backends += [ 'dummy' ]
-
-        if Options.options.build_alsabackend:
-                if re.search ("linux", sys.platform) != None:
-                    backends += [ 'alsa' ]
-
-    else:
-        # Not Ardour
-        if re.search ("linux", sys.platform) != None:
-            # Can't build this till the ALSA backend is merged because of a dependency (on Linux) on a shared utility library
-            # created for the ALSA backend and JACK.
-            # backends = [ 'jack' ]
-            backends = [ ]
-        else:
-            backends = [ ]
-
-    if sys.platform == 'darwin' or sys.platform == 'mingw' or sys.platform == 'msvc':
-        backends += [ 'wavesaudio' ]
-
-    return backends
-
 def options(opt):
     autowaf.set_options(opt)
 
@@ -47,9 +20,7 @@ def configure(conf):
     autowaf.set_recursive()
     autowaf.configure(conf)
 
-    backends = backend_list()
-    conf.env['BACKENDS'] = backends
-    
+    backends = conf.env['BACKENDS']
     for i in backends:
         sub_config_and_use(conf, i)