write: Support audio formats != 16 bit little endian.