mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
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:
parent
4c0626721a
commit
65dd500200
2 changed files with 25 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue