Decoding using lame

1 message Options
Embed this post
Permalink
Daniel Jesús Valencia Sánchez

Decoding using lame

Reply Threaded More More options
Print post
Permalink
Hi there,

I'm trying to use lame_decode():

int CDECL lame_decode(
        unsigned char *  mp3buf,
        int              len,
        short            pcm_l[],
        short            pcm_r[] );


The returned value is supposed to be the number of samples successfully
decoded.  How am I supposed to know how big pcm_l and pcm_r need to be?

Cheers,

- Daniel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Lame-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lame-dev