2009-02-04 11:46:21     AD73311 record level problems

Document created by Aaronwu Employee on Aug 11, 2013
Version 1Show Document
  • View in full screen mode

2009-02-04 11:46:21     AD73311 record level problems

Tom Hoover (UNITED STATES)

Message: 68854   

 

Greetings All,

 

We have a board that has a AD73311L on it. Playback using aplay is working fine. Recording using arecord works but the level is very, very low.

 

I think the problem is a alsa stack / mixer issue, but haven't been able to figure out how to set the record level. I am putting a 1KHz sine wave into the single ended input of the AD73311L at 1.3 Volts.

 

I use the following command to record: arecord -t wav -f S16_SE -d 5 -r 8000 test.wav

 

Downloading the test.wav file and looking at it in audacity, I see a sine wave that looks like I'm recording crosstalk. It's there, but very low.

 

Playback volumes of test files created in audacity are fine. I'm working in the 2008R1.5-RC3 release

 

Any ideas?

 

Thanks,

 

Tom

QuoteReplyEditDelete

 

 

2009-02-05 23:11:15     Re: AD73311 record level problems

Robin Getz (UNITED STATES)

Message: 68943   

 

Tom:

 

Did you try amixer? and setting the mic or line in settings?

 

-Robin

QuoteReplyEditDelete

 

 

2009-02-05 23:13:58     Re: AD73311 record level problems

Cliff Cai (CHINA)

Message: 68944   

 

Tom,

 

There is no software way to control the record/playback level on the fly,currently.You can build the driver as a module and modprbe it with parameter "input_gain"/"output_gain" and the value is form 0 to 7.The other way is modifing the driver code directly,in function snd_ad73311_configure() replace input_gain/output_gain with the suitable value (from 0 to 7).

 

 

 

Cliff

Attachments

    Outcomes