Made use of @autoreleasepool for clang builds.
Removed some unnecessary locking from AudioDeviceManager.