bugfix; num channels must be set first
RC2