r8372: add add/remove channel functions