ao_coreaudio: move some code to make output readable