alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Martin Koegler <martin.koegler@chello.at>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, Clemens Ladisch <clemens@ladisch.de>,
	Martin Koegler <martin.koegler@chello.at>
Subject: Re: [PATCH v2 1/3] ALSA: seq: Provide card number / PID	via sequencer client info
Date: Mon, 7 Mar 2016 22:13:05 +0100	[thread overview]
Message-ID: <20160307211305.GA24681@mail.zuhause> (raw)
In-Reply-To: <s5h37s7sxq3.wl-tiwai@suse.de>

On Thu, Mar 03, 2016 at 10:43:32AM +0100, Takashi Iwai wrote:
> > From: Martin Koegler <martin.koegler@chello.at>
> > 
> > rawmidi devices expose the card number via IOCTLs, which allows to
> > find the corresponding device in sysfs.
> > 
> > The sequencer provides no identifing data. Chromium works around this
> > issue by scanning rawmidi as well as sequencer devices and matching
> > them by using assumtions, how the kernel register sequencer devices.
> > 
> > This changes adds support for exposing the card number for kernel clients
> > as well as the PID for user client.
> > 
> > The minor of the API version is changed to distinguish between the zero
> > initialised reserved field and card number 0.
> > 
> > Signed-off-by: Martin Koegler <martin.koegler@chello.at>
> 
> This ABI change itself looks simple enough, so I have no big problem
> to merge if you can convince other people with it :)
> 
> Clemens?

The current solution has been proposed by him:
http://mailman.alsa-project.org/pipermail/alsa-devel/2016-February/104175.html

Regards,
Martin

  reply	other threads:[~2016-03-07 21:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02 18:26 [PATCH v2 2/3] Provide sequencer sound card number / PID via alsa-lib Martin Koegler
2016-03-02 18:26 ` [PATCH v2 3/3] Show sequencer sound card numer/PID via aconnect Martin Koegler
2016-03-08 10:00   ` Takashi Iwai
2016-03-02 18:26 ` [PATCH v2 1/3] ALSA: seq: Provide card number / PID via sequencer client info Martin Koegler
2016-03-03  9:43   ` Takashi Iwai
2016-03-07 21:13     ` Martin Koegler [this message]
2016-03-08  9:00     ` Clemens Ladisch
2016-03-08  9:54       ` Takashi Iwai
2016-03-03  9:46 ` [PATCH v2 2/3] Provide sequencer sound card number / PID via alsa-lib 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=20160307211305.GA24681@mail.zuhause \
    --to=martin.koegler@chello.at \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=tiwai@suse.de \
    /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).