Re: Envy24control s/pdif input bugfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 23 September 2007 15:30, Stephan Zaubzer wrote:
> Sorry, used diff the wrong way!
> Here the correct patch:
>
> diff -ubr alsa-tools-1.0.14/envy24control/hardware.c
> alsa-tools-1.0.14patch/envy24control/hardware.c ---
> alsa-tools-1.0.14/envy24control/hardware.c  2007-06-04 13:27:25.000000000
> +0200 +++ alsa-tools-1.0.14patch/envy24control/hardware.c     2007-09-23
> 15:58:53.000000000 +0200 @@ -775,7 +775,7 @@
>          snd_ctl_elem_value_set_interface(volume_rate,
> SND_CTL_ELEM_IFACE_MIXER); snd_ctl_elem_value_set_name(volume_rate, "Multi
> Track Volume Rate");
>
> -       if (! card_is_dmx6fire) {
> +       if (card_is_dmx6fire) {
>                  snd_ctl_elem_value_set_interface(spdif_input,
> SND_CTL_ELEM_IFACE_MIXER); snd_ctl_elem_value_set_name(spdif_input,
> "Optical Digital Input Switch"); } else {
>
> Regards Stephan
>
> Stephan Zaubzer wrote:
> > Hi!
> > This patch against the stable version of envy24control fixes a bug where
> > the S/Pdif input switch doesn't work on Terratec DMX 6fire cards. This
> > bug first appeared in  version 1.0.11rc3.
> >
> > diff -ubr alsa-tools-1.0.14patch/envy24control/hardware.c
> > alsa-tools-1.0.14/envy24control/hardware.c
> > --- alsa-tools-1.0.14patch/envy24control/hardware.c     2007-09-23
> > 15:58:53.000000000 +0200
> > +++ alsa-tools-1.0.14/envy24control/hardware.c  2007-06-04
> > 13:27:25.000000000 +0200
> > @@ -775,7 +775,7 @@
> >          snd_ctl_elem_value_set_interface(volume_rate,
> > SND_CTL_ELEM_IFACE_MIXER);
> >          snd_ctl_elem_value_set_name(volume_rate, "Multi Track Volume
> > Rate");
> >
> > -       if (card_is_dmx6fire) {
> > +       if (! card_is_dmx6fire) {
> >                  snd_ctl_elem_value_set_interface(spdif_input,
> > SND_CTL_ELEM_IFACE_MIXER);
> >                  snd_ctl_elem_value_set_name(spdif_input, "Optical
> > Digital Input Switch");
> >          } else {
> >
> >
> > Regards
> > Stephan

I think that's a typo in my original patch -oops!  Will confirm ASAP.

Alan
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux