On 4/5/07, Ashlesha Shintre <ashlesha.shintre@xxxxxxxxx> wrote: > Hi, > > I am trying to write an application to just play a wave file and > record sound using ALSA -- > > I looked at the pcm_min.c file and tried to run it - I am using UBUNTU > and 1.0.11-7ubuntu3 sound library called libasound2. > > I cant seem to find the pcm.c file which has all the snd_pcm_open and > other functions used in the pcm_min.c file! Why do you need this to run your program? Just compile like: gcc -lasound pcm_min.c Lee _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel