Re: Apple USB MIDI driver & port names
Re: Apple USB MIDI driver & port names
- Subject: Re: Apple USB MIDI driver & port names
- From: Doug Wyatt <email@hidden>
- Date: Fri, 3 Mar 2006 11:06:18 -0800
P.S. Apps really should be prepending the device name to the port
name, at least in the case where just using "Port 1" is non-unique!
If you have an example of one that's not, please let me and the app
developer know. The app developer should use kMIDIPropertyDisplayName
(on Tiger), or there's example code in the SDK to accomplish the same
thing.
Doug
On Mar 3, 2006, at 11:02, Doug Wyatt wrote:
The USB-MIDI class spec includes a way for a device to name its own
ports. The Tiger driver doesn't implement this, but I did make some
changes last month .....
In the meantime we're stuck with the "Port %d" behavior but it is
possible for you to write a little MIDI driver that doesn't grab
the device for I/O but does change its port names ... or you could
do this in a little setup app.
Doug
On Mar 3, 2006, at 7:07, Nick wrote:
Hi,
Does anyone know how Apple's class-compliant MIDI driver chooses
the names for ports on a device?
One of our devices has three ports, and these get named as "Port
1", "Port 2" and "Port 3".
This means the value of kMIDIPropertyName will be "Port 1" and
this gets displayed in most apps for selecting MIDI devices. We'd
like to change the port names to make it obvious to users they
are part of our device!
Regards,
Nick
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden