> It does better, see attached alsadrop2.c. $ gcc -oalsadrop2 -lasound -lpthread -g alsadrop2.c
alsadrop2.c: In function ‘threadexe’: alsadrop2.c:35:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘snd_pcm_sframes_t’ [-Wformat=] printf("%d %p %d\n",i3,buf1,frameswritten); ^ /tmp/ccdGdUCw.o: In function `threadexe': /home/fred/alsatest/alsadrop2.c:34: undefined reference to `snd_pcm_writei' /tmp/ccdGdUCw.o: In function `pcmopen': /home/fred/alsatest/alsadrop2.c:45: undefined reference to `snd_pcm_hw_params_malloc' /home/fred/alsatest/alsadrop2.c:47: undefined reference to `snd_pcm_open' ... Idem for each snd_pcm_* method collect2: error: ld returned 1 exit status ... ;( Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk