ao_coreaudio: exract channel conversion functions