Comment 24 for bug 893402

Revision history for this message
Dmitry Dudkin (ddv) wrote :

Hi,

Sound is absolutely broken in Linaro. I spend whole day to get working audio on 12.01/11.12 and Now I can successful run aplay or arecord with following settings:

amixer sset 'Headset Left Playback' 'HS DAC'
amixer sset 'Headset Right Playback' 'HS DAC'
amixer sset Headset 100
mixer cset name='MUX_UL10' 'AMic0'
amixer cset name='MUX_UL11' 'AMic1'
amixer cset name='Analog Left Capture Route' 'Aux/FM Left'
amixer cset name='Analog Right Capture Route' 'Aux/FM Right'
amixer cset name='Capture Preamplifier Volume' 2
amixer cset name='Capture Volume' 4

I can record:
arecord -D plughw:0,1 -r 32000 -f S16_LE -c 1 -d 5 -v test.wav

Then I can play it:
aplay -D plughw:0,8 test.wav

And it is work....BUT if you try to record and play simultaneously then it record SILENCE!

To reproduce the problem I open two SSH consoles:
1. On first one I run:
 speaker-test -D plughw:0,8 -t s -r 32000 -c 1 -l 10

2. And on second console I run another command (in 5 seconds from first command):
arecord -D plughw:0,1 -r 32000 -f S16_LE -c 1 -d 5 -v test.wav

In this case test.wav is SILENCE. If I run arecord without speaker-test then it record actual data.

Dmitry