From: Stephan Zaubzer <s.zaubzer@gmx.at>
To: alsa-devel@alsa-project.org
Subject: Re: Envy24control s/pdif input bugfix
Date: Sun, 23 Sep 2007 16:30:15 +0200 [thread overview]
Message-ID: <46F67877.5050708@gmx.at> (raw)
In-Reply-To: <46F67612.90103@gmx.at>
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
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
next prev parent reply other threads:[~2007-09-23 14:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-23 14:20 Envy24control s/pdif input bugfix Stephan Zaubzer
2007-09-23 14:30 ` Stephan Zaubzer [this message]
2007-09-23 22:06 ` Alan Horstmann
2007-09-24 10:07 ` Alan Horstmann
2007-10-09 10:31 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46F67877.5050708@gmx.at \
--to=s.zaubzer@gmx.at \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.