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

Clifton Craig clifton.craig at gmail.com
Thu Apr 29 19:38:57 PDT 2010

I'm a software engineer. I'm terribly uncomfortable with C. I want someone to show me a simplified use of Speex decoding. FWIW I'm finally getting my head around the API but the example had me a little lost with its cryptic variable names and monolithic nature. The example I'm asking for is way simpler than the final code I will ship to production so in essence, I'm looking for a how-to or head start. I can pick up and run once I know which pieces do what. That may not have been clear from my earlier email.

On Apr 29, 2010, at 10:33 PM, Randy Yates wrote:

> Clifton Craig <clifton.craig at gmail.com> writes:
>> 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!
> Let me get this straight: you're a software engineer (by your .sig),
> you're uncomfortable in C, and you want someone to write your code for
> you?
> Incredible.
> -- 
> Randy Yates                      % "She tells me that she likes me very much,
> Digital Signal Labs              %     but when I try to touch, she makes it
> mailto://yates@ieee.org          %                            all too clear."
> http://www.digitalsignallabs.com %        'Yours Truly, 2095', *Time*, ELO  

More information about the Speex-dev mailing list