From: Takashi Iwai <tiwai@suse.de>
To: David Henningsson <david.henningsson@canonical.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] alsa-tools: Add a small "hdajacksensetest" helper
Date: Mon, 06 Oct 2014 13:30:46 +0200 [thread overview]
Message-ID: <s5hy4stxwnt.wl-tiwai@suse.de> (raw)
In-Reply-To: <54327972.3050008@canonical.com>
At Mon, 06 Oct 2014 13:13:54 +0200,
David Henningsson wrote:
>
>
>
> On 2014-10-06 13:10, Takashi Iwai wrote:
> > At Mon, 6 Oct 2014 11:30:52 +0200,
> > David Henningsson wrote:
> >>
> >> I previously had a small python script doing the same thing,
> >> but it depended on hda-analyzer, which always breaks when something
> >> new is added to the codec proc file.
> >>
> >> I got tired and rewrote it as a small C program instead, which I
> >> hope will be a useful addition to alsa-tools.
> >>
> >> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
> >> ---
> >> Makefile | 2 +-
> >> hdajacksensetest/Makefile.am | 12 +++
> >> hdajacksensetest/configure.ac | 10 +++
> >> hdajacksensetest/gitcompile | 13 ++++
> >> hdajacksensetest/hdajacksensetest.c | 145 ++++++++++++++++++++++++++++++++++++
> >> 5 files changed, 181 insertions(+), 1 deletion(-)
> >> create mode 100644 hdajacksensetest/Makefile.am
> >> create mode 100644 hdajacksensetest/configure.ac
> >> create mode 100755 hdajacksensetest/gitcompile
> >> create mode 100644 hdajacksensetest/hdajacksensetest.c
> >>
> >> diff --git a/Makefile b/Makefile
> >> index b2da046..72f95e2 100644
> >> --- a/Makefile
> >> +++ b/Makefile
> >> @@ -3,7 +3,7 @@ TOP = .
> >> SUBDIRS = as10k1 envy24control hdsploader hdspconf hdspmixer \
> >> mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
> >> us428control usx2yloader vxloader echomixer ld10k1 qlo10k1 \
> >> - hwmixvolume hdajackretask hda-verb
> >> + hwmixvolume hdajackretask hda-verb hdajacksensetest
> >>
> >> all:
> >> @for i in $(SUBDIRS); do \
> >> diff --git a/hdajacksensetest/Makefile.am b/hdajacksensetest/Makefile.am
> >> new file mode 100644
> >> index 0000000..795373c
> >> --- /dev/null
> >> +++ b/hdajacksensetest/Makefile.am
> >> @@ -0,0 +1,12 @@
> >> +MYNAME = hdajacksensetest
> >> +AUTOMAKE_OPTIONS = foreign
> >> +bin_PROGRAMS = hdajacksensetest
> >> +AM_CFLAGS = @GLIB_CFLAGS@ -I "../hdajackretask/" -I "../hda-verb/"
> >> +hdajacksensetest_SOURCES = hdajacksensetest.c ../hdajackretask/sysfs-pin-configs.c
> >> +hdajacksensetest_LDADD = @GLIB_LIBS@
> >> +
> >> +alsa-dist: distdir
> >> + @rm -rf ../distdir/$(MYNAME)
> >> + @mkdir -p ../distdir/$(MYNAME)
> >> + @cp -RLpv $(distdir)/* ../distdir/$(MYNAME)
> >> + @rm -rf $(distdir)
> >> diff --git a/hdajacksensetest/configure.ac b/hdajacksensetest/configure.ac
> >> new file mode 100644
> >> index 0000000..cc1eb84
> >> --- /dev/null
> >> +++ b/hdajacksensetest/configure.ac
> >> @@ -0,0 +1,10 @@
> >> +AC_INIT(hda-verb, 0.4)
> >
> > Should be named differently, I suppose.
>
> Thanks for finding, was there anything else before I send a v2 with that
> fixed?
Not much as I see. valgrind warns only some harmless things we can
ignore.
thanks,
Takashi
prev parent reply other threads:[~2014-10-06 11:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-06 9:30 [PATCH] alsa-tools: Add a small "hdajacksensetest" helper David Henningsson
2014-10-06 11:10 ` Takashi Iwai
2014-10-06 11:13 ` David Henningsson
2014-10-06 11:30 ` Takashi Iwai [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=s5hy4stxwnt.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=david.henningsson@canonical.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.