leo zhu wrote:
I have already got the sound data from sound card into
the buffer, and I've also finished it to encode the
data to gsm and send to another server. Right now I
need to store the sound data to some .wav file in the
server. How can I do it, ether from memory buffer or
gsm? Are there any API to do it?
libsndfile will do it. There are others too.