On Wed, Oct 14, 2009 at 03:39:23PM +0530, Sreekanth W wrote:
I am trying to record a wav file using mic/line-in with wm9713 driver. The Wav file is created, only header is created but almost there is no data. This is seen using CoolEdit/Vim editor.
Could you clarify what you mean when you say "almost there is no data"?
Mic Bias: Off
Any idea why record is not working? Anything wrong with these settings?
_From what you've said it sounds like you're succesfully recording data but the ADC is not seeing a signal to record so you're getting a small amount of noise on the output but that's it. Unless your microphone bias comes from some other source the fact that the Mic Bias on the WM9713 is off will be an issue here - you need to set up DAPM routes to connect that to your microphone widget, see Zylonite for one example. Otherwise check the gains and mutes on the microphone->ADC path to make sure that the signal is being amplified sufficiently.
It might be helpful to set up a bypass path from the input stages so you can hear the output directly while adjusting the controls rather than doing records.