support new channel_map argument in sink/source modules