Commit db08e368 authored by Pierre Donat-Bouillud's avatar Pierre Donat-Bouillud

Correct autoconnect bug when resampling and non used ports not on an

external node.
parent a114a684
Pipeline #911 failed with stage
in 8 minutes and 34 seconds
This diff is collapsed.
......@@ -99,8 +99,6 @@ pub fn parse_audiograph(audiograph : &str, buffer_size: usize, nb_channels: usiz
edges.into_iter()
}
//let to_print = audiograph.clone().into_inner().flat_map()
let (nodes, edges) : (Vec<_>, Vec<_>)= audiograph.into_inner().flat_map(|r| r.into_inner())
.filter(|ref r| r.as_rule() != Rule::deadline)
//.inspect(|x| println!("Statement: {:?}.", x))
......@@ -125,7 +123,7 @@ pub fn parse_audiograph(audiograph : &str, buffer_size: usize, nb_channels: usiz
audiograph.add_connection(src_node, edge.src_port, dst_node, edge.dst_port);
}
audiograph.autoconnect();
audiograph.autoconnect(true);
Ok(audiograph)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment