Hi again,
Another question, how I can get the volume of the microphone real= dynamic? I like getting volume of the micro, to change volume of speakers.
I don't know if I will explain .
2012/3/27 Dámaso López dlopezsk@gmail.com:
Hi Clemens,
I added 2 parameters and return:
# arm-gp2x-linux-gcc -o microphone microphone.c -lasound -static -ldl -lpthread
/usr/lib/gcc/arm-gp2x-linux/4.1.2/../../../../arm-gp2x-linux/lib/libasound.a(dlmisc.o): In function `snd_dlopen':
/home/dam/alsa-lib-1.0.17/src/dlmisc.c:64: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
2012/3/27 Clemens Ladisch clemens@ladisch.de:
Dámaso López wrote:
# arm-gp2x-linux-gcc -o micro micro.c -lasound -static
You still do not have -ldl and -lpthread.
Regards, Clemens