[alsa-devel] [PATCH] rawmidi.c Set a name for a newly allocated rawmidi substream
Ralf Beck
musical_snake at gmx.de
Thu May 8 08:07:23 CEST 2014
Am 07.05.2014 19:39, schrieb Clemens Ladisch:
> Ralf Beck wrote:
>> Rationale: Bitwig Studio (and possibly other rawmidi clients)
>> enumerate the Midi I/Os by substream names. With the current rawmidi
>> implementation, the name is an empty string and only the USB
>> mididriver changes it to a meaningful value after allocation.
> Many RawMIDI devices have only one substream, or multiple substreams
> that are merged into one port. For these, separate substream names do
> not make sense.
Any having no substream name at all makes more sense?
>> This patch sets a default substream name of the form "somename x-y-z"
> The ID string is not meant to be a name.
Would it be acceptable, if i remove the ID string and only return x-y-z ?
Other than the alsa developers i would call creating rawmidi substreams,
but not
assigning a name to them a bug.
Best regards,
Ralf
More information about the Alsa-devel
mailing list