From: Martin Langer <martin-langer@gmx.de>
To: Dave Maley <dmaley@nc.rr.com>
Cc: postmaster@robertvetter.com, alsa-devel@alsa-project.org
Subject: Re: rmedigicontrol error w/ 2.6.11 based kernels
Date: Fri, 17 Jun 2005 20:54:40 +0200 [thread overview]
Message-ID: <20050617185440.GA3067@tuba> (raw)
In-Reply-To: <1118985708.4845.7.camel@homer>
[-- Attachment #1: Type: text/plain, Size: 877 bytes --]
On Fri, Jun 17, 2005 at 01:21:48AM -0400, Dave Maley wrote:
> Hello. I've been happily using rmedigicontrol for a while now (thanks
> for the great app) but have run into a problem when running 2.6.11 based
> kernels. My audio workstation runs Fedora Core 3 and w/ the 2.6.9 and
> 2.6.10 based kernels rmedigicontrol works great. However when I run 1
> of the 2.6.11 based kernels I get this error:
>
> [dave@homer DOWNLOADS]$ rmedigicontrol
> rmedigicontrol: control.c:1686: snd_ctl_elem_info_get_items: Assertion
> `obj->type == SND_CTL_ELEM_TYPE_ENUMERATED' failed.
> Aborted
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.
Signed-off-by: Martin Langer <martin-langer@gmx.de>
martin
[-- Attachment #2: rmedigicontrol.patch --]
[-- Type: text/plain, Size: 1117 bytes --]
Index: rmedigicontrol.c
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/rmedigicontrol/rmedigicontrol.c,v
retrieving revision 1.3
diff -u -r1.3 rmedigicontrol.c
--- rmedigicontrol.c 29 Nov 2004 15:09:16 -0000 1.3
+++ rmedigicontrol.c 17 Jun 2005 18:33:34 -0000
@@ -100,7 +100,7 @@
loopback_box=create_loopback_toggle();
gtk_box_pack_start(GTK_BOX(col1_box),loopback_box,TRUE,FALSE,0);
- clock_box=create_enum_elem_radio("Sample Clock Source",&clock_iv);
+ clock_box=create_enum_elem_radio("Sample Clock Source",&clock_iv);
gtk_box_pack_start(GTK_BOX(col1_box),clock_box,TRUE,FALSE,0);
gtk_box_pack_start(GTK_BOX(main_box),col1_box,TRUE,FALSE,8);
@@ -172,8 +172,6 @@
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))
- active=r;
gtk_box_pack_start(GTK_BOX(box),r,TRUE,FALSE,0);
}
if(active)
next parent reply other threads:[~2005-06-17 18:53 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 ` Martin Langer [this message]
2005-06-17 19:04 ` rmedigicontrol error w/ 2.6.11 based kernels Dave Maley
2005-06-17 21:25 ` Martin Langer
2005-06-17 21:38 ` Dave Maley
2005-06-18 18:52 ` Dave Maley
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=20050617185440.GA3067@tuba \
--to=martin-langer@gmx.de \
--cc=alsa-devel@alsa-project.org \
--cc=dmaley@nc.rr.com \
--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.