All of lore.kernel.org
 help / color / mirror / Atom feed
* some questions regarding multichannel devices
@ 2006-01-22 22:39 Daniel Mack
  2006-01-22 22:46 ` Lee Revell
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Mack @ 2006-01-22 22:39 UTC (permalink / raw)
  To: alsa-devel

Hi all,

I'm somehow confused about is the relationship between

	- the number of registered snd_pcm_t instances
	- the number of substreams (4th and 5th param to snd_pcm_new()) and
	- the value of channels_min, channels_max in my snd_pcm_hardware_t
	  struct

If the device has multiple stereo input and outputs, where and how do I
note that? Is it up to the caller how many streams are actually read/ 
written?
The hardware is not capable of only using some of the hardware channels,
so I would have to throw away data after reception and fake data when  
sending
the stream, repectively.

Also, does a driver need to take care about supporting as much data  
formats
as possible (16/24/32 bits, LE/BE, ...)? Or is there any layer taking  
care
about proper conversion? And if there is such a layer, does any tool  
make
use of that? At least, aplay refused to play a big-endian wave file thru
a device which only supports little-endian data transport according  
to the
snd_pcm_hardware_t struct.

I couldn't find any comprehensive information about that.

Thanks for any hint.
Again, please Cc: me personally in replies, I'm still not subscribed.

Greets,
Daniel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-01-23 16:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-22 22:39 some questions regarding multichannel devices Daniel Mack
2006-01-22 22:46 ` Lee Revell
2006-01-22 23:33   ` Daniel Mack
2006-01-23  0:09     ` Lee Revell
2006-01-23 12:35       ` Daniel Mack
2006-01-23 16:36         ` Lee Revell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.