views:

73

answers:

0

I'm rewriting the ExtAudioFileConvert.cpp sample from Apple to do some extra output file handling... I am not going to be calling it more than once, so I should have no re-entrancy issues.

I'm also rewriting it in C.

Since I haven't had a lot of experience with mutex locking or thread handling, I was hoping not to copy and paste those lines if I don't have to. If, on the other hand, I can not do without those lines, then could someone point me to some reading on threads and mutexes?

I'm thinking that I just need to put my own loop to handle AudioSession interrupts, and be a little more conservative in restarting the conversion all over again if I need to...

Thanks!