From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve deRosier Subject: Re: Writing a Full-Duplex (capture/playback) application. Date: Thu, 22 Dec 2005 09:43:00 -0800 Message-ID: <43AAE5A4.60902@pianodisc.com> References: <1135243534.13713.7.camel@jazc.fedora> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1135243534.13713.7.camel@jazc.fedora> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Juan Zapatero Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Errr... usually (depending on your settings) a raw file and a wav file are nearly the same, just the raw file is missing the wav header. I'd recommend you search on the net for the wav file format, it's really easy. On the other hand, here's a link I've got in my bookmarks: http://www.borg.com/~jglatt/tech/wave.htm - Steve Juan Zapatero wrote: > Hello, > First of all, I'm going to explain what am I trying to do, so that best > help can be provided. > My final objective is to write a VoIP app to be used over a GPRS > network, but so far, I'm only taking care about audio. I need to capture > audio, compress it with Speex, and then, in the other end, decompress it > and play it. I have written an app based on ALSA api tutorials that > records audio into a raw file, but then, this raw file is not recognized > by Speex encoder, so that I need the file recorded into wav format. > Can anyone help me on how to capture audio into wav format? > Thanks a lot. > > > ______________________ > Este mensaje, y en su caso, cualquier fichero anexo al mismo, > puede contener informacion clasificada por su emisor como confidencial > en el marco de su Sistema de Gestion de Seguridad de la > Informacion siendo para uso exclusivo del destinatario, quedando > prohibida su divulgacion copia o distribucion a terceros sin la > autorizacion expresa del remitente. Si Vd. ha recibido este mensaje > erroneamente, se ruega lo notifique al remitente y proceda a su borrado. > Gracias por su colaboracion. > ______________________ > This message including any attachments may contain confidential > information, according to our Information Security Management System, > and intended solely for a specific individual to whom they are addressed. > Any unauthorised copy, disclosure or distribution of this message > is strictly forbidden. If you have received this transmission in error, > please notify the sender immediately and delete it. > ______________________ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click