Re: [Alsa-user] Recording from a microphone

2009-10-18 Thread Bill Unruh
On Mon, 19 Oct 2009, andreas wrote: > Hello. > > I am looking for a simple example or piece of code which demonstrates how to > record from a microphone using ALSA. Why not just take apart arecord, the example routine in alsa for recording from alsa. Since its only purpose is to record from alsa

[Alsa-user] Debian, module-init-tools and the naming of cards

2009-10-18 Thread Jim McCloskey
A recent Debian upgrade (to current testing) broke my carefully constructed solution to the problem of consistent naming of multiple cards. Like many others, I had a file in /etc/modprobe.d/ which assigned a fixed index to each card as the relevant module is loaded: alias snd-card-0 snd-usb-au

[Alsa-user] Recording from a microphone

2009-10-18 Thread andreas
Hello. I am looking for a simple example or piece of code which demonstrates how to record from a microphone using ALSA. I've been browsing the web but mostly turned up hits about enabling microphone recording for different type of applications, but not really anything that goes into code and