osx_write.c: Rename 'output' to 'audio_unit', add documentation