From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Koegler Subject: Re: [PATCH] Provide card number / PID via sequencer client info Date: Tue, 16 Feb 2016 09:03:34 +0100 Message-ID: <20160216080334.GA15116@mail.zuhause> References: <1455370937-501-1-git-send-email-martin@mail.zuhause> <1455370937-501-3-git-send-email-martin@mail.zuhause> <20160215183243.GA26482@mail.zuhause> <20160215214454.GA11052@mail.zuhause> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from vie01a-dmta-pe04-2.mx.upcmail.net (vie01a-dmta-pe04-2.mx.upcmail.net [62.179.121.164]) by alsa0.perex.cz (Postfix) with ESMTP id 1F7A62606E6 for ; Tue, 16 Feb 2016 09:03:37 +0100 (CET) Received: from [172.31.216.43] (helo=vie01a-pemc-psmtp-pe01) by vie01a-dmta-pe04.mx.upcmail.net with esmtp (Exim 4.72) (envelope-from ) id 1aVabg-0001BT-Pt for alsa-devel@alsa-project.org; Tue, 16 Feb 2016 09:03:36 +0100 Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: alsa-devel@alsa-project.org, Martin Koegler List-Id: alsa-devel@alsa-project.org On Mon, Feb 15, 2016 at 11:34:09PM +0100, Takashi Iwai wrote: > > On Mon, Feb 15, 2016 at 08:08:12PM +0100, Takashi Iwai wrote: > > > On Mon, 15 Feb 2016 19:32:43 +0100, > > > Martin Koegler wrote: > > > > > > > > On Mon, Feb 15, 2016 at 11:30:15AM +0100, Takashi Iwai wrote: > > > > > The idea looks good. One remaining question is whether only providing > > > > > the card number or pid is sufficient for all cases. > > > > > > > > I only care about the kernel client. > > > > > > Well, the question is whether only card number is enough. What if > > > cards provide multiple rawmidi devices? > > > > Aren't they currently ports? > > seq_midi.c creates just one sequencer device per card number. > > Look at cards with synth support, e.g. emu10k1 or OPL3/OPL4. Should I export the client_index parameter of snd_seq_create_kernel_client too? Regards, Martin