alsa recording

Jack Howarth howarth at
Sat May 18 13:07:50 EST 2002

    For anyone interested, the current alsa cvs now has working
audio recording. At least on a Powermac G4/AGP with screamer chipset.
You will need to have alsa-drivers, alsa-libs and alsa-utils built
and installed from the cvs. Also make sure you have mic boost in alsamixer
set to 0 or you will easily overload you inputs while recording.
    I have confirmed that recording works with both the alsa and oss
compatibility interfaces. To test the alsa interface the following works...

make a .asoundrc in your home dir with...

pcm.copy {
  type plug
  slave {
  pcm hw
  route_policy copy

and record with...

arecord -d 10 -f cd -t wav -D copy foobar2.wav

which can be played back with...

aplay -c 2 -t raw -r 44100 -f mu_law foobar2.wav

I have also confirmed the oss recording/playback using the
'snd' scheme based sound editor program that uses oss. I was
able to record 1 and 2 channel wav recordings with that.
Of course all of the above was done with the esd daemon killed.
There have been a slew of updates for Tumbler so it may work
as well. Good luck.

** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list