Revert "[Summary] Fixed broken windows backend build. Made wavesaudio the only backend for Tracks"

The wavesaudio backend only runs on OS X and Windows. This change
makes it impossible to run Tracks on Linux.

This reverts commit a6e33a0e25.
This commit is contained in:
Paul Davis 2014-09-05 07:47:57 -04:00
parent 4c0626721a
commit 65dd500200
2 changed files with 25 additions and 4 deletions

View file

@ -2,14 +2,14 @@
#include "porttime.h"
//<<<<<<< HEAD
<<<<<<< HEAD
#include "windows.h"
#include "time.h"
//=======
=======
#include <windows.h>
#include <mmsystem.h>
#include <time.h>
//>>>>>>> 41fe637... Add the 'porttime' source file for Windows
>>>>>>> 41fe637... Add the 'porttime' source file for Windows
TIMECAPS caps;

View file

@ -10,7 +10,28 @@ top = '.'
out = 'build'
def backend_list():
return [ 'wavesaudio' ]
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:
backends = [ 'jack', 'alsa' ]
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)