[alsa-devel] function location?

Lee Revell rlrevell at joe-job.com
Thu Apr 5 19:44:29 CEST 2007

On 4/5/07, Ashlesha Shintre <ashlesha.shintre at gmail.com> 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


More information about the Alsa-devel mailing list