Name: fb126949 Date: 03/15/2004
Some ALSA soundcard drivers only report the device's maximum capability. For example, my Delta soundcard with 10 channels and up to 32-bit sample size reports for the hw: device:
So in Java Sound, such a SourceDataLine will not report mono or stereo, or 8 or 16 bit capability. Even if the hw: device is really not able to be opened in, say, stereo mode, the plughw: device can. Java Sound's lines always open the plughw: device, so it is safe to assume that if hw: supports 10 channels, the plughw: device also supports any number of channels below that.
Java Sound should acknowledge the plughw: capabilities and report lower quality formats.