User talk:Android edsam: Difference between revisions

From AlsaProject
Jump to navigation Jump to search
(Arecord will lost audio data when both playback and record on but in different sample rate.)
 
(No difference)

Latest revision as of 05:17, 19 July 2011

platform: wm8993+at6700(702Mhz), use alsa, The record audio data will lost when both playback and record on but in different sample rate.But wm8993 has just one digtal interface.So wm8993 playback & capture work under one sample rate.

Use alsa utils aplay for playbback, and arecord for record. Repeat step: 1、use aplay to play a wave file(44.1k, 2channel,16bit format) in background,this file duration about 11 minutes; 2、run cmd "date" get system time info; 3、start arecord,but sample rate is 8k,2 channel,16bit fromat, want to record 10minutes; 4、run cmd "date" get system time info again; 5、calculate step4 time - step2 time,about 10minutes and 3seconds. Those steps run in one script. So,arecord can't get 10minutes theory data in normal 10minutes, audio data lost. During record,there is no alsa err happen. I don't know where maybe exist problem.Look forward for your help.