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

Diego Biurrun diego at biurrun.de
Fri Nov 11 02:10:10 CET 2005


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.

> -  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?

Diego




More information about the MPlayer-cvslog mailing list