fixed xml loading: when nchannels is not available, fallback on total_channels