How to compile c programs with ALSA API
besides including :
#include <alsa/asoundlib.h>
do i have to give other compile options when compile the program? for example if i have soundplay.c using ALSA API
how can I compile it ?
or just
gcc soundplay.c -o soundplay?
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
Quoted 1 line · zhouc
how can I compile it ?
cc -lasound soundplay.c -o soundplay
--
Giuliano.
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl