Skip to contentSkip to conversation

envy24control wordclock text patch

PATCH John Rigg 2 participants 2 messages Dec 26, 2005 – Jan 2, 2006

lore
Share & tools
lore

John Rigg

author
#0 lore raw

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

envy24control/hardware.c +1 -1
diff -uprN alsa-tools-1.0.10/envy24control/hardware.c alsa-tools-patched/envy24control/hardware.c
@@ -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;
 }
 
#1 lore raw

At Mon, 26 Dec 2005 16:08:33 +0000,

Quoted 6 lines · John Rigg

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).

Thanks. Applied to CVS.

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click