tomasz motylewski wrote: >On Sun, 9 Jun 2002, Tim Goetze wrote: > >> with all respect, i think you could have tried a little harder to find >> the error. > >There is a prominent link on >http://www.alsa-project.org/documentation.php3#0.9doc > >Howto use the ALSA API - Paul Davis has also written a brief explanation. >http://www.op.net/~pbd/alsa-audio.html#captureex > >You will find there: > > if ((capture_handle = snd_pcm_open (argv[1], SND_PCM_STREAM_CAPTURE, 0)) <0) { > fprintf (stderr, "cannot open audio device %s\n", argv[1]); > exit (1); > } > >and many other errors. > >While examples are the best for of developers documentation, broken examples >are the worst form of misinformation.
i offer my apologies, i had no idea this tutorial fails its purpose so badly. tim _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel