Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: LAME Encoding C (Read 3587 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

LAME Encoding C

Hi !

I am programming with visual c++ 6 under winXP.
I want to encode a PCM interleaved stream using the LAME library with a simple C program.

I am using the lameenc.dll, lameenc.lib, lameenc.h and lame.h  from lamecom-sdk.

When I heard the mp3 result stream there are many "scratch".
I have tried to attach my source code but the forum refuses it (

If someone can help me I will send him the source code....

thx a lot
Mike

LAME Encoding C

Reply #1
cool !!! i have found my pb : it was the number of input samples.

my input samples was 1024 (2048 bytes stream) but in fact it is 512 samples per channel 

so do not need more help
bye

Nestor