[LAD] prototype in header but declaration where?

Florian Paul Schmidt mista.tapas at gmx.net
Fri Aug 5 15:32:21 UTC 2011


On 08/05/2011 05:30 PM, Renato wrote:
> Hi, very noob C question. I do this:
>
> renato at acerarch /usr/include/alsa $ grep snd_seq_open *
> seq.h:int snd_seq_open(snd_seq_t **handle, const char *name, int streams, int mode);
> seq.h:int snd_seq_open_lconf(snd_seq_t **handle, const char *name, int streams, int mode, snd_config_t *lconf);
>
> so I see that the function snd_seq_open has its prototype declared in seq.h... but
> where is the actual function definition?

Do you have the sources? If not it is only in compiled form in 
libasound2.so, or whatever the lib is called on your box..

Flo



More information about the Linux-audio-dev mailing list