At Thu, 29 May 2003 15:13:11 +0200,
Abramo Bagnara wrote:
> 
> Jaroslav Kysela ha scritto:
> > On Thu, 29 May 2003, Abramo Bagnara wrote:
> > 
> > 
> >>What about a "dir" field in common section of pcm configuration?
> >>
> >>   dir STR  # PCM allowed directions "playback", "capture", "both" (default)
> > 
> > 
> > I'd like to solve the problem with same names, but different 
> > configurations for streams.
> > 
> > I have an idea like:
> > 
> > pcm.name {
> >     ... global configuration ...
> >     playback {
> >             ... playback configuration ...
> >     }
> >     capture {
> >             ... capture configuration ...
> >     }
> > }
> 
> I'm far from convinced that to have same name for different things is a 
> good idea, and in this case I'd propose to have:
> 
> pcmc.name {
> }
> 
> pcmp.name {
> }
> 
> then specifying different namespaces for different things.
> 
> This also permits to leave current
> pcm.name {
> }
> 
> unmodified (although with lower priority wrt pcmc and pcmp).

i would accept both ideas.

IIRC, the pcm is looked up through the definition in
/usr/share/alsa/alsa.conf, so if we have pcmc and pcmp definitions,
we'll need to rewrite (add) these look-up, too?


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to