Clone of libsndfile