Re: Two same name audio device
Re: Two same name audio device
- Subject: Re: Two same name audio device
- From: Chris Reed <email@hidden>
- Date: Thu, 10 Jun 2004 13:46:55 -0500
On Jun 10, 2004, at 10:52 AM, Kris Daniel wrote:
>
There is, however, a problem that you'll run into with Audio MIDI
>
Setup (version 2.0): if two (or more) devices provide the same name,
>
(which happens when identical devices are plugged in over USB), Audio
>
MIDI Setup will only display the name once in the drop-down menus for
>
audio device selection, even if the devices have different
>
GlobalUniqueIDs. This strikes me as a bug in Audio MIDI Setup. I've
>
only seen it happen with devices that I'm writing the driver for, so
>
it's possible I'm doing something wrong.
>
Yeah, that definitely sounds like a bug. In Cocoa apps, at least, the
method -[NSMenu addItemWithTitle:action:keyEquivalent:] will return nil
if there is already an item with the same title. (You can work around
this by either using -[NSMenu addItem:] with an NSMenuItem you created
yourself or by adding a unique item, then changing the title.)
Have you entered a bug at
http://radar.apple.com? If not, I will.
-chris
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.