Encodes wav to speex and returns it in an .ogg format.