Fix port overrides for faust output ports.
parent
ab9511e2f1
commit
beaa46d9ec
|
@ -99,6 +99,9 @@ if args.faust_json:
|
|||
else:
|
||||
port['name'] = 'out%d' % port_num
|
||||
|
||||
if port['name'] in port_overrides:
|
||||
port.update(port_overrides[port['name']])
|
||||
|
||||
for field in REQUIRED_PORT_FIELDS:
|
||||
if not field in port:
|
||||
raise ValueError("Missing field '%s' for output port %d" % (field, port_num))
|
||||
|
|
Loading…
Reference in New Issue