Write audio samples to libao device
Check return value of ao_play()