linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* alsa recording
@ 2002-05-18  3:07 Jack Howarth
  0 siblings, 0 replies; only message in thread
From: Jack Howarth @ 2002-05-18  3:07 UTC (permalink / raw)
  To: linuxppc-dev


    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.
                          Jack


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-18  3:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-18  3:07 alsa recording Jack Howarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).