I replaced the sleep call with this code:
NSDate* aSecondFromNow = [[NSDate alloc] initWithTimeIntervalSinceNow:1.0];
[[NSRunLoop currentRunLoop] runUntilDate:aSecondFromNow];
[aSecondFromNow release];
and now after reconnecting the microphone the indicator shows up correctly when trying to access the microphone the second time.
Thank you very much!!!
Post
Replies
Boosts
Views
Activity
Also, why in the case of reconnecting the microphone, the microphone in use icon is not shown when trying to access? This seems strange and is obviously not related to the sleep call?
What does the quit variable mean?