Phil, I need to save audio data in wave format . - Is wav data can only be played in windows os ? - Recording wave data needs to require follow a process that include set wave format ,filling header ...and more .I followed http://bcbjournal.org/articles/vol2/9810/Low-level_wave_audio__part_3.htm and found that ur code doesnt use functions like waveInOpen,waveInPrepareHeader and more .Could u throw some light how did u record and playback it in ur test code ?
Ashish On Tue, 07 Oct 2008 Phil Quiney wrote : >Hi, > >Can you not just open /dev/dsp and read that device, writing to FLASH as & >when you need to. > >You can configure the device for sample rate and bits/sample via OSS ioctls. > >The attached program could be used as a starting point. This is one of our >test programs we use when validating audio on a target. > >Just run it with... > >./trinity_au -f 16000 -r somefile.wav > >That will record at 16bit 16kHz and write out a .wav file. If you omit the >.wav it will write a raw file (which may be closer to what you need). > >If you omit the -f option it will do 44.1kHz. Note that the number of channels >defaults to 2 (stereo). You should be able to set it to mono by specifying -c >1 but this does not work on the davinci as the driver is stereo only. > >Run it with -h for a full list of options - I can't guarantee that all of them >work though. > >Regards > >Phil Q > >Phil Quiney, Senior Software Engineer >Trinity Convergence >Cambridge Business Park >Cowley Road >Cambridge CB4 0WZ, UK >T: +44(0)1223-435536 >F: +44(0)1223-435560 >www.trinityconvergence.com <http://www.trinityconvergence.com/> > > > >________________________________ > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ashish pareek >Sent: 07 October 2008 09:58 >To: [email protected] >Subject: Audio demo (AIC33) > > > > >Hi All, > >My application requires to use TLV320AIC33 stereo audio codec IC to store >audio samples every quarter of sec to nand .I am new to such application >.Could any one help me with some demo /reference code . > >I will appreciate such help. > >Ashish > > > >Black578x38_banner2.gif ><http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/[EMAIL > PROTECTED]/2606998_2599290/2602379/1?PARTNER=3&OAS_QUERY=null>
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
