On Sat, 5 Oct 2002, Patrick Shirkey wrote: > Guilhem Tardy wrote: > > Hi, > > > > I am unsure what makes the most sense for multiple pcm channels on the same > > card: > > a) N devices, 1 pcm channel each > > b) 1 device, N pcm channels each > > > > In the same vein, is the mixer always one per card? > > > > well if we have hw:0,0 hw:0,1 hw:0,2 > > Then it looks like option b to me. But Jaroslav confused me recently by > saying something that sounded like a is the case.
Nope. If channels are linked together in hardware, they should be used as one device. I think that our discussion was about subdevices. Here is the hiearchy: card -+- device -+- subdevice | | | +- subdevice | | | ... | +- device -+- subdevice | | | ... | ... In PCM API, there might be several PCM devices and several subdevices per a PCM device. The subdevices are used mostly for multi-open hardware, but if hardware offers for example 512 independent stereo streams with 1024 discrete hardware outputs, it could use subdevices as well, because we have limited count of devices. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel