From: John Rigg <ad@sound-man.co.uk>
To: alsa-devel@lists.sourceforge.net
Subject: envy24control wordclock text patch
Date: Mon, 26 Dec 2005 16:08:33 +0000 [thread overview]
Message-ID: <20051226160833.GA4940@localhost.localdomain> (raw)
[-- 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;
}
next reply other threads:[~2005-12-26 16:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-26 16:08 John Rigg [this message]
2006-01-02 14:30 ` envy24control wordclock text patch 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=20051226160833.GA4940@localhost.localdomain \
--to=ad@sound-man.co.uk \
--cc=alsa-devel@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox