Post

Replies

Boosts

Views

Activity

Comment on Recording audio from a microphone using the AVFoundation framework does not work after reconnecting the microphone
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!!!
Topic: Media Technologies SubTopic: Audio Tags:
Nov ’24
Comment on Recording audio from a microphone using the AVFoundation framework does not work after reconnecting the microphone
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!!!
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Nov ’24
Comment on Recording audio from a microphone using the AVFoundation framework does not work after reconnecting the microphone
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?
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Nov ’24
Comment on Recording audio from a microphone using the AVFoundation framework does not work after reconnecting the microphone
What does the quit variable mean?
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Nov ’24