There are several examples, but out of hubris I'll point you to my webpage: (all the examples are linked from the top)
http://mlug.missouri.edu/~markrages/wiki/index.php?WritingAnAlsaClient In particular, I'd recommend you jook at JACK (jackit.sourceforge.net) before worrying too much about the ALSA details. Regards, Mark [EMAIL PROTECTED] > > All, > > I'm new to ALSA, and I'm using whatever version is in the > 2.5.7 kernel w/ a Midiman Dio 2448 (cmipci driver). > > I'm trying to write a simple app that reads some samples, > does a small bit of processing, and writes them back out > to the same device. > > The card is full duplex, but I cannot seem to open a pcm > device for reading and writing at the same time. Even the > "latency.c" doesn't work. Is the driver just broke? > > Two questions: > > 1. What is the best way to accomplish my task? > > 2. Does anyone have a simple example to do this? > > Thanks, > > h. > > > _______________________________________________ > Alsa-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-devel _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel