As you were. That should have been
std::vector<float> buffer(frames * 2)
and it now seems to work.
------------------------------------------------------------
libsndfile-users Mailing List
To unsubscribe:
<mailto:libsndfile-users-requestmega-nerd.com?Subject=unsubscribe>