move audio queue callback to main thread