From: Josh Lehan <alsa@krellan.com>
To: Clemens Ladisch <clemens@ladisch.de>, Sergey <sergemp@mail.ru>,
alsa-devel@alsa-project.org
Subject: Re: [PATCH - alsa-utils 5/5] The amidicat program itself, better late than never
Date: Wed, 09 Jul 2014 16:36:20 -0700 [thread overview]
Message-ID: <53BDD1F4.5030003@krellan.com> (raw)
In-Reply-To: <53BCF522.2080609@ladisch.de>
On 07/09/2014 12:54 AM, Clemens Ladisch wrote:
> Have a look at how aseqdump decides what PORT_CAP bits to set.
Thanks, will do.
>> Also, what about ALSA permissions that amidicat itself advertises? To
>> make a long story short, I think I have this backwards.
>
> These bits specify what _other_ clients can do with the port.
Makes sense to me.
> Does the thread actually read the delivered events from the kernel
> buffer?
Should be, I'm calling snd_seq_event_input() in a tight loop. Hoping
this is the appropriate function to be calling, and that all the various
structures around it are initialized correctly.
>> Also, try "amidicat --list", which will give you output similar to
>> "aplaymidi -l" but include more devices (unlike aplaymidi, amidicat does
>> no filtering, it shows you everything, even including itself in the list).
>
> It should list only those ports it can use, i.e., connect from/to.
It already does, in a way. Anything that has read/write permission,
direct and/or subscription, is usable. I like showing everything, it's
useful for diagnostics/troubleshooting. If user wants filtered output
they can apply that later (or perhaps I'll add it when adding the
--quiet flag). I still think the most complete/useful output should be
the default.
Josh
next prev parent reply other threads:[~2014-07-09 23:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-30 8:54 [PATCH - alsa-utils 0/5] The amidicat program as a patch Josh Lehan
2014-06-30 8:54 ` [PATCH - alsa-utils 1/5] Adding amidicat subdirectory to SUBDIRS Josh Lehan
2014-06-30 11:32 ` Clemens Ladisch
2014-07-01 7:30 ` Josh Lehan
2014-06-30 8:55 ` [PATCH - alsa-utils 2/5] Add amidicat Makefile to AC_OUTPUT list Josh Lehan
2014-06-30 8:55 ` [PATCH - alsa-utils 3/5] Makefile for amidicat, includes manual page Josh Lehan
2014-06-30 8:55 ` [PATCH - alsa-utils 4/5] Documentation manual page for amidicat Josh Lehan
2014-06-30 11:32 ` Clemens Ladisch
2014-07-01 7:34 ` Josh Lehan
2014-06-30 8:55 ` [PATCH - alsa-utils 5/5] The amidicat program itself, better late than never Josh Lehan
2014-06-30 11:33 ` Clemens Ladisch
2014-07-01 8:10 ` Josh Lehan
2014-07-08 23:55 ` Sergey
2014-07-09 5:26 ` Josh Lehan
2014-07-09 7:54 ` Clemens Ladisch
2014-07-09 23:36 ` Josh Lehan [this message]
2014-07-10 6:53 ` Clemens Ladisch
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=53BDD1F4.5030003@krellan.com \
--to=alsa@krellan.com \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
--cc=sergemp@mail.ru \
/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;
as well as URLs for NNTP newsgroup(s).