All of lore.kernel.org
 help / color / mirror / Atom feed
* How to set a new name on rawmidi?
@ 2016-01-03 20:48 Daniel Viksporre
  2016-01-03 21:47 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Viksporre @ 2016-01-03 20:48 UTC (permalink / raw)
  To: alsa-devel

Hi!

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?

// Daniel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to set a new name on rawmidi?
  2016-01-03 20:48 How to set a new name on rawmidi? Daniel Viksporre
@ 2016-01-03 21:47 ` Clemens Ladisch
  0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2016-01-03 21:47 UTC (permalink / raw)
  To: Daniel Viksporre, alsa-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-03 21:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-03 20:48 How to set a new name on rawmidi? Daniel Viksporre
2016-01-03 21:47 ` Clemens Ladisch

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.