first working version with ogg encoder via libsndfile