Added standard check for number of sound channels.