|
| [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:
Manufacturer: MyGreatHardware
Model: MyBox
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.
| References: | |
| >MIDI device/entity/endpoint names (From: Doug Wyatt <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.