I got a System.ArgumentOutOfRangeException when trying to play a file with the exception-message "SetAllVolumes MUST be supplied with a volume level for ALL channels. The AudioStream has 8 channels and you supplied 2 channels. (Parameter 'levels')".
outputFormat.Channels was also just 2 for me so I use audioClient.AudioStreamVolume.ChannelCount instead.
I got a System.ArgumentOutOfRangeException when trying to play a file with the exception-message "SetAllVolumes MUST be supplied with a volume level for ALL channels. The AudioStream has 8 channels and you supplied 2 channels. (Parameter 'levels')". outputFormat.Channels was also just 2 for me so I use audioClient.AudioStreamVolume.ChannelCount instead.