Skip to contentSkip to conversation

pcm interfaces questions

DISCUSSION Giuliano Pochini 1 participant 1 message Mar 26, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1048632431.3099.25.camel@Jay

#1 lore raw
Quoted 13 lines
Quoted 3 lines

snd_pcm_new() has two parameters for the number of substreams for playback and capture.

its a language problem. its not the number of substreams as in "the quantity of substreams". rather, it means "the ID of the substream".

Quoted 5 lines

Yes, but what does it mean ? If I
have N playback substreams, can I service N applications that use one stream ? Can channels be allocated on demand, to allow the user to use 4 xmms or 1 xmms and a dvd player (5.1) at the same time ? :))

Quoted 4 lines

this depends on (1) whether the underlying hardware supports it and
(2) whether you use a "dmix" PCM device rather than a "hw" PCM device. the "hw" PCM device only offers the capabilities of the hardware, nothing more.

The hardware supports it: it provides 16 indipendent scatter-gather lists and each stream has its own sample rate and format. Dmix mixes several streams into one. It's not what I would like do to.

Bye.

-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en