13
0

fix panner selection logic and code in wscript

This commit is contained in:
Paul Davis 2015-05-06 07:30:39 -04:00
parent 9632600819
commit 24c531a9a6

View File

@ -20,13 +20,19 @@ def configure(conf):
autowaf.set_recursive() autowaf.set_recursive()
autowaf.configure(conf) autowaf.configure(conf)
if conf.env['PROGRAM_NAME'] == 'TracksLive':
panners = [ '1in2out', 'vbap', 'stereobalance' ]
else:
panners = [ '2in2out', '1in2out', 'vbap', 'stereobalance' ]
for i in panners: for i in panners:
sub_config_and_use(conf, i) sub_config_and_use(conf, i)
def build(bld): def build(bld):
if Options.options.program_name == 'TracksLive': if bld.env['PROGRAM_NAME'] == 'TracksLive':
panners = [ '1in2out', 'vbap', 'stereobalance' ] panners = [ '1in2out', 'vbap', 'stereobalance' ]
else: else:
panners = [ '2in2out', '1in2out', 'vbap', 'stereobalance' ] panners = [ '2in2out', '1in2out', 'vbap', 'stereobalance' ]
for i in panners: for i in panners:
bld.recurse(i) bld.recurse(i)