dragoip / 0xdroid

Automatically exported from code.google.com/p/0xdroid
0 stars 0 forks source link

Audio recording not work with alsa_aplay #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. command like this: alsa_aplay -C -t wav -d 10 record.wav to capture a 10 
seconds sound.
2. Only get some irregular noise. But audio playback works well with aplay on 
my devkit8000 board

Version: 0xdroid-eclair-04

I stucked with it, any idea? Thanks in advance!

Original issue reported on code.google.com by mao.lu...@gmail.com on 7 Jul 2010 at 6:13

GoogleCodeExporter commented 9 years ago

Original comment by jserv.tw@gmail.com on 9 Jul 2010 at 3:56

GoogleCodeExporter commented 9 years ago
The problem is related to the default setting of the sound driver. I fixed it 
in the sound driver with some initial register values. The related file is 
kernel/sound/soc/codes/twl4030.c

Original comment by mao.lu...@gmail.com on 9 Jul 2010 at 5:41

GoogleCodeExporter commented 9 years ago
Hi, lvmao: 
    Could you share how you modify the file to make the recording work on devkit8k?
    For modifying register values, is there any document for reference?
    You can check and track Issue #136 as well.  just the same issue as this one.

Original comment by ShunYu.C...@gmail.com on 9 Jul 2010 at 9:02