From: Dave Maley <dmaley@nc.rr.com>
To: Martin Langer <martin-langer@gmx.de>
Cc: postmaster@robertvetter.com, alsa-devel@alsa-project.org
Subject: Re: Re: rmedigicontrol error w/ 2.6.11 based kernels
Date: Sat, 18 Jun 2005 14:52:14 -0400 [thread overview]
Message-ID: <1119120734.4795.3.camel@homer> (raw)
In-Reply-To: <20050617212503.GA3272@tuba>
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
> > > There was a change in the mixer (enumerates) and I forgot to change
> > > rmedigicontrol, too. But this patch removes
> > > "snd_ctl_elem_value_get_enumerated()" for the rme32/rme96 cards now.
> > > The patch is only tested with a rme32 card here.
> >
> > Thanks much for the quick response. I'll test this patch w/ my digi96/8
> > PST card and let you know how things go.
>
> Please try this patch instead. The former one is wrong. Sorry.
That did the trick. rmedigicontrol's working nicely now w/ my 2.6.11
based kernels. Thanks much!
The attached patch (essentially a 1-liner) is all I ended up needing to
use. This was patching the sources from alsa-tools-1.0.9 ...
Thanks again!
Cheers,
Dave
[-- Attachment #2: rme_getinteger.patch --]
[-- Type: text/x-patch, Size: 713 bytes --]
--- rmedigicontrol-1.0.9/rmedigicontrol.c.orig 2005-06-18 13:49:16.000000000 -0400
+++ rmedigicontrol-1.0.9/rmedigicontrol.c 2005-06-18 13:51:06.000000000 -0400
@@ -172,10 +172,11 @@
r=gtk_radio_button_new_with_label(group,snd_ctl_elem_info_get_item_name(iv->info));
group=gtk_radio_button_group(GTK_RADIO_BUTTON(r));
gtk_signal_connect(GTK_OBJECT(r),"toggled",GTK_SIGNAL_FUNC(elem_radio_toggled),(gpointer)iv);
- if(i==snd_ctl_elem_value_get_enumerated(iv->val,0))
+ if(i==snd_ctl_elem_value_get_integer(iv->val,0))
active=r;
gtk_box_pack_start(GTK_BOX(box),r,TRUE,FALSE,0);
}
+
if(active)
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(active),TRUE);
frame=gtk_frame_new(elem_name);
prev parent reply other threads:[~2005-06-18 18:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1118985708.4845.7.camel@homer>
2005-06-17 18:54 ` rmedigicontrol error w/ 2.6.11 based kernels Martin Langer
2005-06-17 19:04 ` Dave Maley
2005-06-17 21:25 ` Martin Langer
2005-06-17 21:38 ` Dave Maley
2005-06-18 18:52 ` Dave Maley [this message]
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=1119120734.4795.3.camel@homer \
--to=dmaley@nc.rr.com \
--cc=alsa-devel@alsa-project.org \
--cc=martin-langer@gmx.de \
--cc=postmaster@robertvetter.com \
/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.