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

2003-02-21 Thread leo zhu
Thanks a lot leo --- Erik de Castro Lopo <[EMAIL PROTECTED]> wrote: > On Thu, 20 Feb 2003 23:47:18 + > Simon Jenkins <[EMAIL PROTECTED]> wrote: > > > leo zhu wrote: > > > > >I have already got the sound data from sound card > into > > >

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

2003-02-20 Thread leo zhu
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?

Re: [linux-audio-dev] I need help! I can't handle the problem about full-duplex (playback & record) programming

2002-12-15 Thread leo zhu
Thanks a lot anyway. This is my first question in this group and it's my pleasure to get your help. leo. --- Pascal Haakmat <[EMAIL PROTECTED]> wrote: > 13/12/02 15:46, leo zhu wrote: > > > Hi, guys, > > > > I am working on a project in which I need to >

[linux-audio-dev] I need help! I can't handle the problem about full-duplex (playback & record) programming

2002-12-13 Thread leo zhu
Hi, guys, I am working on a project in which I need to implement palyback and recording on the same sound card and in the same time. I open the soundcard with RDWR mode and used 'select' to wait for sound data on card and read it. After that, I receive audio data from socket and write this data