IOS - AudioOutputUnitStop Freezes and Prevents Applications

sometimes doing

AudioOutputUnitStop(inputUnit)

causes the application to freeze for 10/15 seconds and the following console message:

WARNING:   [0x3b58918c] AURemoteIO.cpp:1225: Stop: AURemoteIO::Stop: error 0x10004003 calling TerminateOwnIOThread

Such code is processed by the Novocaine library, and in particular it is found in the [Novocaine pause] method, which I call to stop the playback of the audio file ( https://github.com/alexbw/novocaine/blob/master/Novocaine/Novocaine.m ) .

Any tips really appreciated!

Thanks DAN

+4
source share

All Articles