Al Johnson wrote:
On Thursday 18 March 2010, Gerhard Rieger wrote:
I want to record from buildin microphone to file. Having no better idea
I tried the following command line:

arecord -D hw -f cd  -vvv -d 5 -t wav /tmp/rec.wav

But max peak is 0 and the wav contains no sound. I played a little with
alsamixer but did not succeed to find the correct input device or settings.

Please help!

You need to select a suitable state for the mixer settings so that the mic is routed to the ADC. The voiphandset one _should_ work, but I've not tried it recently.

mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio org.freesmartphone.Device.Audio.SetScenario voiphandset
This setting works fine for arecord. Afterwards, selecting scenario stereoout, I can listen to the record using aplay.

Thanks!

- Gerhard

_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to