Re: [Alsa-devel] PCM API questions

2002-06-25 Thread Jaroslav Kysela
On Mon, 24 Jun 2002, Joshua Haberman wrote: > * Jaroslav Kysela ([EMAIL PROTECTED]) wrote: > > On Mon, 24 Jun 2002, Paul Davis wrote: > > > > > >Maybe this is what the "default" device is intended for, but can it > > > >accommodate more than one card? I happen to have a sound card built into >

Re: [Alsa-devel] PCM API questions

2002-06-25 Thread Takashi Iwai
At Tue, 25 Jun 2002 00:11:20 -0700, Joshua Haberman wrote: > > * Takashi Iwai ([EMAIL PROTECTED]) wrote: > > > Hello all! > > > > > > I am writing a PortAudio implementation for ALSA. PortAudio is designed > > > to present a single API that cross-platform applications can use on many > > > diff

Re: [Alsa-devel] PCM API questions

2002-06-24 Thread Joshua Haberman
* Takashi Iwai ([EMAIL PROTECTED]) wrote: > > Hello all! > > > > I am writing a PortAudio implementation for ALSA. PortAudio is designed > > to present a single API that cross-platform applications can use on many > > different platforms. > > > > I have some questions I hope you can answer for

Re: [Alsa-devel] PCM API questions

2002-06-24 Thread Joshua Haberman
* Jaroslav Kysela ([EMAIL PROTECTED]) wrote: > On Mon, 24 Jun 2002, Paul Davis wrote: > > > >Maybe this is what the "default" device is intended for, but can it > > >accommodate more than one card? I happen to have a sound card built into > > >my motherboard and another in a PCI slot -- how do I

Re: [Alsa-devel] PCM API questions

2002-06-24 Thread Jaroslav Kysela
On Mon, 24 Jun 2002, Paul Davis wrote: > >Maybe this is what the "default" device is intended for, but can it > >accommodate more than one card? I happen to have a sound card built into > >my motherboard and another in a PCI slot -- how do I tell XMMS which one > >to use? > > an excellent conte

Re: [Alsa-devel] PCM API questions

2002-06-24 Thread Paul Davis
>Maybe this is what the "default" device is intended for, but can it >accommodate more than one card? I happen to have a sound card built into >my motherboard and another in a PCI slot -- how do I tell XMMS which one >to use? an excellent context for the question. i want to extend the question

Re: [Alsa-devel] PCM API questions

2002-06-24 Thread Joshua Haberman
* Paul Davis ([EMAIL PROTECTED]) wrote: > >the names above are not defined on all cards (except for default). > >i think we need a kind of config database for each card. > >this is useful not only for pcm but also for parsing the mixer > >structure. > > i think this is the wrong solution. i belie

Re: [Alsa-devel] PCM API questions

2002-06-24 Thread Takashi Iwai
At Mon, 24 Jun 2002 10:17:08 -0400, Paul Davis wrote: > > >the names above are not defined on all cards (except for default). > >i think we need a kind of config database for each card. > >this is useful not only for pcm but also for parsing the mixer > >structure. > > i think this is the wrong

Re: [Alsa-devel] PCM API questions

2002-06-24 Thread Fred Gleason
On Monday 24 June 2002 10:17, Paul Davis wrote: > >the names above are not defined on all cards (except for default). > >i think we need a kind of config database for each card. > >this is useful not only for pcm but also for parsing the mixer > >structure. > > i think this is the wrong solution.

Re: [Alsa-devel] PCM API questions

2002-06-24 Thread Paul Davis
>the names above are not defined on all cards (except for default). >i think we need a kind of config database for each card. >this is useful not only for pcm but also for parsing the mixer >structure. i think this is the wrong solution. i believe the correct solution is to provide a **simple** w

Re: [Alsa-devel] PCM API questions

2002-06-24 Thread Takashi Iwai
At Mon, 24 Jun 2002 08:49:25 -0400, Paul Davis wrote: > > >> 2. How is device selection designed to work with ALSA? My experience > >> with ALSA has been very confusing in this regard. I recall reading at > >> least once that ALSA is not designed to have applications enumerate all > >> the dev

Re: [Alsa-devel] PCM API questions

2002-06-24 Thread Paul Davis
>> 2. How is device selection designed to work with ALSA? My experience >> with ALSA has been very confusing in this regard. I recall reading at >> least once that ALSA is not designed to have applications enumerate all >> the devices; that the correct way is to use ~/.asoundrc to define a >> h

Re: [Alsa-devel] PCM API questions

2002-06-24 Thread Takashi Iwai
Hi Josh, At Sat, 22 Jun 2002 20:41:20 -0700, Joshua Haberman wrote: > > Hello all! > > I am writing a PortAudio implementation for ALSA. PortAudio is designed > to present a single API that cross-platform applications can use on many > different platforms. > > I have some questions I hope you

[Alsa-devel] PCM API questions

2002-06-22 Thread Joshua Haberman
Hello all! I am writing a PortAudio implementation for ALSA. PortAudio is designed to present a single API that cross-platform applications can use on many different platforms. I have some questions I hope you can answer for me. 1. Is there any reason to choose anything other than mmap mode f