Extracting Speex Raw Data

Mar 25, 2014 at 8:11 AM

I have an embedded application that records and plays back speex encoded data. That seems to be working fine, however I would like to be able to playback pre-recorder (pc) audio, which is then embedded in my system.

So I have a x.spx file that I essentially need to convert to an array and store in my application as a const. The problem is I need to strip off the ogg framing of the data. To be clear, I still want the raw, encoded data, just not wrapped up with ogg.

Is NSpeex capable of doing that? I'm not much of a c# programmer, and trying to get some of the ogg libraries up and running is a little daunting.