All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Daniel Viksporre <daniel.viksporre@gmail.com>,
	alsa-devel@alsa-project.org
Subject: Re: How to set a new name on rawmidi?
Date: Sun, 3 Jan 2016 22:47:40 +0100	[thread overview]
Message-ID: <568996FC.4070808@ladisch.de> (raw)
In-Reply-To: <CAL_NL1CKcX_d37SbopHH-bKUkfyXKvZxemVf58dH8ojcKwFQ=w@mail.gmail.com>

Daniel Viksporre wrote:
> I opened a MIDI connection with...
>
> snd_rawmidi_open(&read_handle, &write_handle, "virtual", 0);
>
> But how do i set a useful name on it, that can be seen in other programs?

You don't.

The RawMIDI API was designed for 'real' hardware devices, which already
have a name.

To create a virtual MIDI port, you should use the sequencer API.


Regards,
Clemens

      reply	other threads:[~2016-01-03 21:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-03 20:48 How to set a new name on rawmidi? Daniel Viksporre
2016-01-03 21:47 ` Clemens Ladisch [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=568996FC.4070808@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=daniel.viksporre@gmail.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.