Dynamic Audio Input selectors
Dynamic Audio Input selectors
- Subject: Dynamic Audio Input selectors
- From: Robert Penland <email@hidden>
- Date: Fri, 27 Sep 2002 09:19:56 -0700
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.