ao_coreaudio: refactor init function