RE: Dynamic Audio Input selectors
RE: Dynamic Audio Input selectors
- Subject: RE: Dynamic Audio Input selectors
- From: Phil Montoya <email@hidden>
- Date: Fri, 27 Sep 2002 09:52:54 -0700
I think we figured we could use replaceAvailableSelection or
removeAvailableSelection in the IOAudioSelectorControl class. We haven't
tried it but this looks like the way to go...right??
Now, is there a way to tell when the selector list is displayed. It would
be much easier for us at that time to make certain the list is valid and if
not rebuild it.
Thanks
-Phil
-----Original Message-----
From: Robert Penland [
mailto:email@hidden]
Sent: Friday, September 27, 2002 9:20 AM
To: 'email@hidden'
Subject: Dynamic Audio Input selectors
I am writing a driver for an AudioDevice, the input engine of this device
has a large list of selectors that have been added to an
IOAudioSelectorControl. My problem arises from the fact that at anypoint in
time some of these selectors may become invalid due to changes to the
external hardware. I can detect when these changes occur, but what is the
prescribed method for handling this in CoreAudio? I tried just returning an
error from the InputSelectorChangeHandler, but eventhough I see a log saying
that an error was noted, the System Preferences Audio Input Panel stills
hilites the new choice(I was hoping that it would just bounce back to the
previously valid selection). Is there a way to dynamically change the
selector list and then notify any clients that are using that list? That
way, only the currently valid input sources would show up. Or is there a
way to have a client grey out those selectors that aren't valid
Thanks,
Rob
_______________________________________________
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.
_______________________________________________
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.