master
// TODO add explicit parameter to concatenation functions to control whether audio is also muxed in