[Speex-dev] Simple example of decoding streaming audio realtime?

Clifton Craig clifton.craig at gmail.com
Fri Apr 30 07:53:29 PDT 2010


That's exactly what I was looking for. I just got finish trying several attempts at porting libfishsound to XCode/CocoaTouch land but am facing dependency issues on the other xiph libraries. (liboggz, libvorbis, libflac, etc.) Rest assured I know what the issues are and how to address them. I am at a fork here. I can either port the bulk of the xiph libraries to XCode or continue on my original path trying to get just Speex and libogg running and with my original progress either approach appears equal in terms of effort. I should also add that my original comment, being uncomfortable with C, really applies to more than just C. I'm uncomfortable with everything that goes along with C... the configure scripts, the make files, the dependency resolution. What I'm really looking for is somebody who has taken the battle scars and trail-blazed a path into XCode/CocoaTouch. At any rate I appreciate your help. Thanks again.

On Apr 29, 2010, at 9:59 PM, Conrad Parker wrote:

> On 30 April 2010 05:45, Clifton Craig <clifton.craig at gmail.com> wrote:
>> Hi,
>> I'm new to Speex and a little uncomfortable in C programming. I'm looking for a simple example of how I'd use Speex to decode a speex file read off of an network stream and pass the decoded samples to an audio player. I have speex running in an iPhone project and I started digging thru the speexdec.c example trying to refactor as I made sense of the API calls. The example is a little cryptic and involved and I was wondering if there was a watered down version or if someone could whip one up for me. Thanx in advance!
> Hi,
> you could try using libfishsound and liboggz, like in this sample
> decoder from the libfishsound source:
> http://git.xiph.org/?p=libfishsound.git;a=blob;f=src/examples/fishsound-decode.c;h=d9c178d44281f73ede3c73caccaeebbf1fa2169a;hb=HEAD
> cheers,
> Conrad.

More information about the Speex-dev mailing list