All of lore.kernel.org
 help / color / mirror / Atom feed
* envy24control wordclock text patch
@ 2005-12-26 16:08 John Rigg
  2006-01-02 14:30 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: John Rigg @ 2005-12-26 16:08 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

I reported a bug in envy24control about the text displayed when using
the BNC word clock input on a Delta 1010 (bug id 0001677). It says
`No signal' when locked and `Locked' when there's no signal. I wasn't
sure how to submit a patch using the Bugtrack interface, so I've
attached it here (this fixes it in alsa-tools-1.0.10).

John

[-- Attachment #2: envy24control-wclocktext-patch-1.0.10 --]
[-- Type: text/plain, Size: 661 bytes --]

diff -uprN alsa-tools-1.0.10/envy24control/hardware.c alsa-tools-patched/envy24control/hardware.c
--- alsa-tools/envy24control/hardware.c	2004-04-16 14:09:35.000000000 +0100
+++ alsa-tools/envy24control/hardware.c	2005-12-26 15:09:16.000000000 +0000
@@ -170,7 +170,7 @@ gint master_clock_status_timeout_callbac
 	if ((err = snd_ctl_elem_read(ctl, sw)) < 0)
 		g_print("Unable to determine word clock status: %s\n", snd_strerror(err));
 	gtk_label_set_text(GTK_LABEL(hw_master_clock_status_label),
-			   snd_ctl_elem_value_get_boolean(sw, 0) ? "Locked" : "No signal");
+			   snd_ctl_elem_value_get_boolean(sw, 0) ? "No signal" : "Locked");
 	return TRUE;
 }
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-02 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-26 16:08 envy24control wordclock text patch John Rigg
2006-01-02 14:30 ` Takashi Iwai

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.