Re: [Alsa-devel] pcm interfaces questions

2003-03-26 Thread Jaroslav Kysela
On Wed, 26 Mar 2003, Giuliano Pochini wrote: > > On 26-Mar-2003 Takashi Iwai wrote: > > the "pcm substreams" belong to each pcm stream. when you open a pcm > > device, one pcm substream will be used at each time. > > snd_pcm_new() takes the argument how many pcm substreams are created > > for ea

Re: [Alsa-devel] pcm interfaces questions

2003-03-26 Thread Paul Davis
>> the "pcm substreams" belong to each pcm stream. when you open a pcm >> device, one pcm substream will be used at each time. >> snd_pcm_new() takes the argument how many pcm substreams are created >> for each pcm stream. you can give more than one here only if the >> hardware supports multiple-

Re: [Alsa-devel] pcm interfaces questions

2003-03-26 Thread Giuliano Pochini
On 26-Mar-2003 Takashi Iwai wrote: > the "pcm substreams" belong to each pcm stream. when you open a pcm > device, one pcm substream will be used at each time. > snd_pcm_new() takes the argument how many pcm substreams are created > for each pcm stream. you can give more than one here only if th

Re: [Alsa-devel] pcm interfaces questions

2003-03-26 Thread Giuliano Pochini
>>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". > >> Yes, but what does it mean ? If I

Re: [Alsa-devel] pcm interfaces questions

2003-03-26 Thread Takashi Iwai
At Tue, 25 Mar 2003 18:24:13 +0100 (CET), Giuliano Pochini wrote: > > snd_pcm_new() has two parameters for the number of substreams > for playback and capture. Yes, but what does it mean ? If I > have N playback substreams, can I service N applications that > use one stream ? Can channels be alloc

Re: [Alsa-devel] pcm interfaces questions

2003-03-25 Thread Paul Davis
>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". > Yes, but what does it mean ? If I >have N

[Alsa-devel] pcm interfaces questions

2003-03-25 Thread Giuliano Pochini
snd_pcm_new() has two parameters for the number of substreams for playback and capture. 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