[linux-audio-dev] can somebody tell me how to create a .wav file from the sound buffer or gsm?

leo zhu leozhuca at yahoo.com
Fri Feb 21 11:08:00 UTC 2003


Thanks a lot
 leo
--- Erik de Castro Lopo <erikd-lad at mega-nerd.com>
wrote:
> On Thu, 20 Feb 2003 23:47:18 +0000
> Simon Jenkins <sjenkins at blueyonder.co.uk> wrote:
> 
> > 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.
> 
>     http://www.zip.com.au/~erikd/libsndfile/
> 
> Grab the source tarball. have a look at the programs
> in the 
> examples/ directory.
> 
> Erik
> -- 
>
+-----------------------------------------------------------+
>   Erik de Castro Lopo  nospam at mega-nerd.com (Yes
> it's valid)
>
+-----------------------------------------------------------+
> "Fifty years of programming language research, and
> we 
> end up with C++ ???"   --Richard A. O'Keefe


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the Linux-audio-dev mailing list