Coreaudio deadlock when stopping and restarting device

For our company, where we plan to migrate to v7 anyway, I don’t think that the license is the issue. And we already maintain our own patched version of v6. The changes from the commit for the patch are not so easily cherry picked, however, due to other changes in the same file that were made for v7.