|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
In looking at some MIDI apps and drivers that are starting to appear, I've realized that there's a convention I'd like to see used, but hasn't been documented beyond its use in sample code (if even there).
Driver writers should name things like this:
Device: MyBox #1 (i.e. append some sort of unique identifier if there are multiple instances)
Entity: Port 1
Endpoints will inherit "Port 1" as their name -- so you don't have to bother to name the endpoints, unless there are more than one of each, which is usually not as good an idea as having one pair of endpoints per entity.
Then, application writers can make a choice:
If the endpoint name "Port 1" is unique, as it will be in a single-device studio, you can choose to display just that, and it's nice and short.
Or, if you always want to be precise, you can concatenate the device and endpoint names, and even prepend the manufacturer name if you like.
|>MIDI device/entity/endpoint names (From: Doug Wyatt <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.