CoreAudio: fix properties for input/output

Also, check that audio devices are available before setting defaults