Implement more of the libsox API.