[MPlayer-cvslog] CVS: main/libao2 ao_oss.c,1.54,1.55

Alban Bedel albeu at free.fr
Fri Nov 11 12:43:59 CET 2005


On Fri, 11 Nov 2005 02:10:10 +0100
Diego Biurrun <diego at biurrun.de> wrote:

> On Thu, Nov 10, 2005 at 10:02:58AM +0100, Alban Bedel CVS wrote:
> > 
> > Modified Files:
> > 	ao_oss.c 
> > Log Message:
> > Allow setting the mixer per instance so one can fallback between
> > several oos device and still have correct mixer settings all the
> > time.
> > The sytax is now: oss[:dsp_device[:mixer_device[:mixer_channel]]]
> 
> Please document this in the man page.

When if find the time.
 
> > -  if (ao_subdevice)
> > +  if (ao_subdevice) {
> > +    char *m,*c;
> > +    m = strchr(ao_subdevice,':');
> > +    if(m) {
> > +      c = strchr(m+1,':');
> > +      if(c) {
> > +        mchan = c+1;
> > +        c[0] = '\0';
> > +      }
> > +      mdev = m+1;
> > +      m[0] = '\0';
> > +    }
> 
> Why not use the subopt parser?

It turned out to be overly complex to use for the task at hand.

	Albeu




More information about the MPlayer-cvslog mailing list