----- Forwarded message from dharani <[EMAIL PROTECTED]> -----

Hello Sir
 I am Dharani babu from india . I am a VC++ developer working with sound APIs. I am 
new to audio 

encoding . I have already developed a voice chat application which records and streams 

uncompressed PCM format data via net to other clients . I am using Wave >From Audio 
API for 

getting sound buffer and playing it. For Info I am using LPWAVEHDR structure to get 
sound data 

in the lpHdr-->lpData member . And I just stream it viz net . But I am working on 
converting the 

lpHdr-->lpData into a mp3 stream . And I want the mp3 stream received at the other end 
to be 

converted back into PCM to be played to the speaker. I am trying to use Lame API's 
lame_enc.dll 

and its function  lame_encode_buffer_interleaved(gf,(short 

int*)(lpHdr->lpData),576,mp3buf,72); But the function is not working it says " 
unhandled 

exception in lame_enc.dll" Could u please tell me ideas to how to link the lame dll 
and how 

should i make calls with right parameters to the appropriate functions so that i can 
convert PCM 

to mp3 and mp3 to PCM .?
Thanking you
With Regards
dharanibabu [EMAIL PROTECTED]

----- End forwarded message -----
_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to