fix panner selection logic and code in wscript
This commit is contained in:
parent
9632600819
commit
24c531a9a6
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user