Re: Apple USB MIDI driver & port names
Re: Apple USB MIDI driver & port names
- Subject: Re: Apple USB MIDI driver & port names
- From: Nick <email@hidden>
- Date: Mon, 6 Mar 2006 14:47:07 +0000
Thanks for the info Doug. I think we'll stick to not having a driver
(true plug-and-play is too cool) but it would be nice to see support
for this device port naming scheme.
I agree about about prepending the device name.. It's a shame more
don't do it. Perhaps if there were an API call which builds a string
in the recommended way, more would?
Nick
On 3 Mar 2006, at 19:06, Doug Wyatt wrote:
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