> > But if you do make the effort and boil it down to a few > > lines of clean alsa code, please post it back here. The > > example you are writing is short, concise and perfect for a > > mini tutorial. > > If I get this far, I'll do so.
I learned this stuff by staring at Matthias Nagorni's miniArp.c.
It's not labeled as a tutorial, but it's a nice introduction to
ALSA programming. You can find it at
http://www.suse.de/~mana/miniArp.c
Best,
Peter
